Hooks the component fields back into the inspector so they are registered as proper fields of their types, as opposed to the regular string-only dynamic fields.

This commit is contained in:
Areloch 2016-06-02 22:40:29 -05:00
parent 2464b620ba
commit 89672ea0ab
8 changed files with 369 additions and 9 deletions

View file

@ -3798,7 +3798,7 @@ void GuiTreeViewCtrl::onMouseDown(const GuiEvent & event)
if (item->isInspectorData())
{
Entity* e = dynamic_cast<Entity*>(item->getObject());
if (item->mScriptInfo.mText != StringTable->insert("Components"))
//if (item->mScriptInfo.mText != StringTable->insert("Components"))
{
Entity* e = dynamic_cast<Entity*>(item->getObject());
if (e)