Integration of Entities into the inspector/editor so they can call back into the tool scripts for custom handling.

This commit is contained in:
Areloch 2016-05-14 14:12:53 -05:00
parent 38c18870d3
commit 827e70d674
8 changed files with 960 additions and 5 deletions

View file

@ -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);
}