MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / deselect

Method deselect

Engine/source/navigation/guiNavEditorCtrl.cpp:152–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152void GuiNavEditorCtrl::deselect()
153{
154 if(!mMesh.isNull())
155 mMesh->setSelected(false);
156 mMesh = NULL;
157 mPlayer = mCurPlayer = NULL;
158 mCurTile = mTile = -1;
159 mLinkStart = Point3F::Max;
160 mLink = mCurLink = -1;
161}
162
163DefineEngineMethod(GuiNavEditorCtrl, deselect, void, (),,
164 "@brief Deselect whatever is currently selected in the editor.")

Callers 3

NavEditorGuiFunction · 0.80
NavEditorGuiFunction · 0.80

Calls 2

isNullMethod · 0.45
setSelectedMethod · 0.45

Tested by

no test coverage detected