mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Update navEditor.tscript
typo
This commit is contained in:
parent
b5d6601b96
commit
888e72ad28
1 changed files with 4 additions and 6 deletions
|
|
@ -317,16 +317,14 @@ function NavMeshSelectTool::onDeactivated(%this)
|
||||||
%actions->SelectActions.setVisible(false);
|
%actions->SelectActions.setVisible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
function NavMeshSeletTool::onNavMeshSelected(%this)
|
function NavMeshSelectTool::onNavMeshSelected(%this)
|
||||||
{
|
{
|
||||||
%obj = NavEditorGui.getMesh();
|
NavTreeView.clearSelection();
|
||||||
|
if(isObject(NavEditorGui.getMesh()))
|
||||||
|
NavTreeView.selectItem(NavEditorGui.getMesh());
|
||||||
// we set the naveditorgui navmesh in source so just get it
|
// we set the naveditorgui navmesh in source so just get it
|
||||||
// and update here.
|
// and update here.
|
||||||
NavInspector.inspect(NavEditorGui.getMesh());
|
NavInspector.inspect(NavEditorGui.getMesh());
|
||||||
|
|
||||||
NavTreeView.clearSelection();
|
|
||||||
if(isObject(%obj))
|
|
||||||
NavTreeView.selectItem(%obj);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//------------------------------------------------------
|
//------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue