mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
fix tree selection
This commit is contained in:
parent
888e72ad28
commit
9d98d55b1e
|
|
@ -18,6 +18,7 @@ public:
|
|||
NavMeshSelectTool();
|
||||
virtual ~NavMeshSelectTool() {}
|
||||
|
||||
void setActiveNavMesh(NavMesh* nav_mesh) { mNavMesh = nav_mesh; mSelMesh = nav_mesh; }
|
||||
void onActivated(const Gui3DMouseEvent& evt) override;
|
||||
void onDeactivated() override;
|
||||
|
||||
|
|
|
|||
|
|
@ -698,6 +698,8 @@ function NavTreeView::onInspect(%this, %obj)
|
|||
function NavTreeView::onSelect(%this, %obj)
|
||||
{
|
||||
NavInspector.inspect(%obj);
|
||||
|
||||
NavEditorGui.selectMesh(%obj);
|
||||
}
|
||||
|
||||
function NavEditorGui::prepSelectionMode(%this)
|
||||
|
|
|
|||
Loading…
Reference in a new issue