mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 00:05:40 +00:00
Moves the world Editor guis to be based through a tabbed structure to make it easier to begin separating out editor/tool guis into their own tabs or elements for better separation.
Currently establishes the MainScene tab and otherwise retains existing behavior directly
This commit is contained in:
parent
fcd611353d
commit
59247bd9ca
20 changed files with 1503 additions and 1471 deletions
|
|
@ -48,12 +48,12 @@ function initializeShapeEditor()
|
|||
ShapeEdSelectWindow.setVisible(false);
|
||||
ShapeEdPropWindow.setVisible(false);
|
||||
|
||||
EditorGui.add(ShapeEdPreviewGui);
|
||||
EditorGui.add(ShapeEdAnimWindow);
|
||||
EditorGui.add(ShapeEdAdvancedWindow);
|
||||
MainSceneTabPanel.add(ShapeEdPreviewGui);
|
||||
MainSceneTabPanel.add(ShapeEdAnimWindow);
|
||||
MainSceneTabPanel.add(ShapeEdAdvancedWindow);
|
||||
|
||||
EditorGui.add(ShapeEdSelectWindow);
|
||||
EditorGui.add(ShapeEdPropWindow);
|
||||
MainSceneTabPanel.add(ShapeEdSelectWindow);
|
||||
MainSceneTabPanel.add(ShapeEdPropWindow);
|
||||
|
||||
new ScriptObject(ShapeEditorPlugin)
|
||||
{
|
||||
|
|
@ -186,7 +186,7 @@ function ShapeEditorPlugin::open(%this, %shapeAsset)
|
|||
ShapeEdPropWindow.setVisible(true);
|
||||
ShapeEdAnimWindow.setVisible(true);
|
||||
ShapeEdAdvancedWindow.setVisible(ShapeEditorToolbar-->showAdvanced.getValue());
|
||||
EditorGui.bringToFront(ShapeEdPreviewGui);
|
||||
MainSceneTabPanel.bringToFront(ShapeEdPreviewGui);
|
||||
|
||||
ToolsPaletteArray->WorldEditorMove.performClick();
|
||||
%this.map.push();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue