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

Method unselectObject

Engine/source/gui/worldEditor/worldEditor.cpp:2942–2952  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2940}
2941
2942void WorldEditor::unselectObject( SimObject *obj )
2943{
2944 if ( mSelectionLocked || !mSelected || !obj )
2945 return;
2946
2947 if ( !objClassIgnored( obj ) && mSelected->objInSet( obj ) )
2948 {
2949 mSelected->removeObject( obj );
2950 Con::executef( this, "onUnSelect", obj->getIdString() );
2951 }
2952}
2953
2954void WorldEditor::unselectObject( const char *obj )
2955{

Callers 1

worldEditor.cppFile · 0.80

Calls 5

executefFunction · 0.85
objInSetMethod · 0.80
getIdStringMethod · 0.80
findObjectFunction · 0.50
removeObjectMethod · 0.45

Tested by

no test coverage detected