MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / deleteLink

Method deleteLink

Engine/source/navigation/guiNavEditorCtrl.cpp:171–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171void GuiNavEditorCtrl::deleteLink()
172{
173 if(!mMesh.isNull() && mLink != -1)
174 {
175 mMesh->selectLink(mLink, false);
176 mMesh->deleteLink(mLink);
177 mLink = -1;
178 Con::executef(this, "onLinkDeselected");
179 }
180}
181
182DefineEngineMethod(GuiNavEditorCtrl, deleteLink, void, (),,
183 "@brief Delete the currently selected link.")

Callers 1

Calls 3

executefFunction · 0.85
selectLinkMethod · 0.80
isNullMethod · 0.45

Tested by

no test coverage detected