Removes the Library tabs from the World and GUI editors to avoid confusion. Adjusts the creation namespace from ECreatorWindow to a dummy object ObjectCreator to handle invoking for creation

This commit is contained in:
Areloch 2021-12-04 22:47:10 -06:00
parent 82b33b757a
commit a30e9c6242
17 changed files with 83 additions and 480 deletions

View file

@ -136,7 +136,7 @@ function VPathTreeView::DeleteSelectedPaths( %this )
function VPathTreeView::CreatePath( %this )
{
// Create Path Object.
EWCreatorWindow.createObject( "ObjectBuilderGui.buildObject( \"VPath\" );" );
ObjectCreator.createObject( "ObjectBuilderGui.buildObject( \"VPath\" );" );
}
//-----------------------------------------------------------------------------

View file

@ -105,7 +105,7 @@ function VPathEditorPlugin::onWorldEditorStartup( %this )
//
//----------------------------------------------------------------------
EWCreatorWindow.registerMissionObject( "VPath", "VPath", "", "Level" );
ObjectCreator.registerMissionObject( "VPath", "VPath", "", "Level" );
}
//EditorGui.setEditor(\"VPathEditorPlugin\");