mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Update navMeshSelectTool.cpp
update gui info
This commit is contained in:
parent
e8d56ca987
commit
dc74f63d85
|
|
@ -105,10 +105,15 @@ bool NavMeshSelectTool::updateGuiInfo()
|
|||
Sim::findObject("EWorldEditorStatusBarSelection", selectionBar);
|
||||
|
||||
String text;
|
||||
text = "LMB To select a NavMesh.";
|
||||
|
||||
if (statusbar)
|
||||
Con::executef(statusbar, "setInfo", text.c_str());
|
||||
|
||||
text = "";
|
||||
if(mSelMesh)
|
||||
text = String::ToString("NavMesh Selected: %d", mSelMesh->getId());
|
||||
|
||||
if (selectionBar)
|
||||
selectionBar->setText(text);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue