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

@ -1251,7 +1251,7 @@ function ColladaImportDlg::showDialog(%this, %shapePath, %cmd)
%this.cmd = %cmd;
// Only allow loading lights if creating a new scene object
%canLoadLights = (strstr(%this.cmd, "EWCreatorWindow.create") != -1);
%canLoadLights = (strstr(%this.cmd, "ObjectCreator.create") != -1);
// Check for an existing TSShapeConstructor object. Need to exec the script
// manually as the DAE resource may not have been loaded yet