mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-28 07:45:40 +00:00
Integration of Entities into the inspector/editor so they can call back into the tool scripts for custom handling.
This commit is contained in:
parent
38c18870d3
commit
827e70d674
8 changed files with 960 additions and 5 deletions
|
|
@ -122,9 +122,9 @@ void EditManager::editorDisabled()
|
|||
static GameBase * getControlObj()
|
||||
{
|
||||
GameConnection * connection = GameConnection::getLocalClientConnection();
|
||||
ShapeBase* control = 0;
|
||||
GameBase* control = 0;
|
||||
if(connection)
|
||||
control = dynamic_cast<ShapeBase*>(connection->getControlObject());
|
||||
control = connection->getControlObject();
|
||||
return(control);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue