mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Merge remote-tracking branch 'devhead/Preview4_0' into tsneo
# Conflicts: # Engine/source/platform/types.visualc.h # Templates/BaseGame/game/tools/assetBrowser/scripts/assetBrowser.tscript # Templates/BaseGame/game/tools/assetBrowser/scripts/assetTypes/terrain.tscript # Templates/BaseGame/game/tools/gui/editorSettingsWindow.ed.tscript # Templates/BaseGame/game/tools/gui/scriptEditorDlg.ed.gui
This commit is contained in:
commit
17231ca9fb
51 changed files with 736 additions and 488 deletions
|
|
@ -44,8 +44,6 @@ function initializeShapeEditor()
|
|||
// Add windows to editor gui
|
||||
ShapeEdPreviewGui.setVisible(false);
|
||||
ShapeEdAnimWindow.setVisible(false);
|
||||
|
||||
ShapeEditorToolbar.setVisible(false);
|
||||
ShapeEdSelectWindow.setVisible(false);
|
||||
ShapeEdPropWindow.setVisible(false);
|
||||
|
||||
|
|
@ -53,7 +51,6 @@ function initializeShapeEditor()
|
|||
EditorGui.add(ShapeEdAnimWindow);
|
||||
EditorGui.add(ShapeEdAdvancedWindow);
|
||||
|
||||
EditorGui.add(ShapeEditorToolbar);
|
||||
EditorGui.add(ShapeEdSelectWindow);
|
||||
EditorGui.add(ShapeEdPropWindow);
|
||||
|
||||
|
|
@ -189,7 +186,6 @@ function ShapeEditorPlugin::open(%this, %shapeAsset)
|
|||
ShapeEdPropWindow.setVisible(true);
|
||||
ShapeEdAnimWindow.setVisible(true);
|
||||
ShapeEdAdvancedWindow.setVisible(ShapeEditorToolbar-->showAdvanced.getValue());
|
||||
ShapeEditorToolbar.setVisible(true);
|
||||
EditorGui.bringToFront(ShapeEdPreviewGui);
|
||||
|
||||
ToolsPaletteArray->WorldEditorMove.performClick();
|
||||
|
|
@ -256,6 +252,9 @@ function ShapeEditorPlugin::onActivated(%this)
|
|||
%this.openShapeAssetId(%shapeFile);
|
||||
}
|
||||
}
|
||||
|
||||
EditorGuiToolbarStack.remove( EWorldEditorToolbar );
|
||||
EditorGuiToolbarStack.add( ShapeEditorToolbar );
|
||||
}
|
||||
|
||||
function ShapeEditorPlugin::initStatusBar(%this)
|
||||
|
|
@ -275,7 +274,9 @@ function ShapeEditorPlugin::onDeactivated(%this)
|
|||
$gfx::wireframe = $wasInWireFrameMode;
|
||||
|
||||
ShapeEdMaterials.updateSelectedMaterial(false);
|
||||
ShapeEditorToolbar.setVisible(false);
|
||||
|
||||
EditorGuiToolbarStack.add( EWorldEditorToolbar );
|
||||
EditorGuiToolbarStack.remove( ShapeEditorToolbar );
|
||||
|
||||
ShapeEdPreviewGui.setVisible(false);
|
||||
ShapeEdSelectWindow.setVisible(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue