mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
Update navMeshSelectTool.cpp
update gui info
This commit is contained in:
parent
e8d56ca987
commit
dc74f63d85
1 changed files with 5 additions and 0 deletions
|
|
@ -105,10 +105,15 @@ bool NavMeshSelectTool::updateGuiInfo()
|
||||||
Sim::findObject("EWorldEditorStatusBarSelection", selectionBar);
|
Sim::findObject("EWorldEditorStatusBarSelection", selectionBar);
|
||||||
|
|
||||||
String text;
|
String text;
|
||||||
|
text = "LMB To select a NavMesh.";
|
||||||
|
|
||||||
if (statusbar)
|
if (statusbar)
|
||||||
Con::executef(statusbar, "setInfo", text.c_str());
|
Con::executef(statusbar, "setInfo", text.c_str());
|
||||||
|
|
||||||
|
text = "";
|
||||||
|
if(mSelMesh)
|
||||||
|
text = String::ToString("NavMesh Selected: %d", mSelMesh->getId());
|
||||||
|
|
||||||
if (selectionBar)
|
if (selectionBar)
|
||||||
selectionBar->setText(text);
|
selectionBar->setText(text);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue