mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-25 09:44:02 +00:00
SceneEditor/node-edit: don't display "si[giganticnumberblaaargh]" anymore
That was a leftover from ages ago when selectedIdx was changed from int to size_t
This commit is contained in:
parent
f890d35676
commit
00883143d7
1 changed files with 3 additions and 1 deletions
|
@ -2711,7 +2711,9 @@ void SceneEditor::updateText()
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case ET_PATHS:
|
case ET_PATHS:
|
||||||
os << "paths (" << dsq->game->getNumPaths()<< ") si[" << selectedIdx << "]";
|
os << "paths (" << dsq->game->getNumPaths() << ")";
|
||||||
|
if (selectedIdx != size_t(-1))
|
||||||
|
os << " si[" << selectedIdx << "]";
|
||||||
if (getSelectedPath())
|
if (getSelectedPath())
|
||||||
os << " name: " << getSelectedPath()->name;
|
os << " name: " << getSelectedPath()->name;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue