mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +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
|
|
@ -31,12 +31,10 @@ function initializeMeshRoadEditor()
|
|||
|
||||
MeshRoadEditorGui.setVisible( false );
|
||||
MeshRoadEditorOptionsWindow.setVisible( false );
|
||||
MeshRoadEditorToolbar.setVisible( false );
|
||||
MeshRoadEditorTreeWindow.setVisible( false );
|
||||
|
||||
EditorGui.add( MeshRoadEditorGui );
|
||||
EditorGui.add( MeshRoadEditorOptionsWindow );
|
||||
EditorGui.add( MeshRoadEditorToolbar );
|
||||
EditorGui.add( MeshRoadEditorTreeWindow );
|
||||
|
||||
new ScriptObject( MeshRoadEditorPlugin )
|
||||
|
|
@ -95,7 +93,10 @@ function MeshRoadEditorPlugin::onActivated( %this )
|
|||
MeshRoadEditorGui.setVisible( true );
|
||||
MeshRoadEditorGui.makeFirstResponder( true );
|
||||
MeshRoadEditorOptionsWindow.setVisible( true );
|
||||
MeshRoadEditorToolbar.setVisible( true );
|
||||
|
||||
EditorGuiToolbarStack.remove( EWorldEditorToolbar );
|
||||
EditorGuiToolbarStack.add( MeshRoadEditorToolbar );
|
||||
|
||||
MeshRoadEditorTreeWindow.setVisible( true );
|
||||
MeshRoadTreeView.open(ServerMeshRoadSet,true);
|
||||
%this.map.push();
|
||||
|
|
@ -121,7 +122,10 @@ function MeshRoadEditorPlugin::onDeactivated( %this )
|
|||
|
||||
MeshRoadEditorGui.setVisible( false );
|
||||
MeshRoadEditorOptionsWindow.setVisible( false );
|
||||
MeshRoadEditorToolbar.setVisible( false );
|
||||
|
||||
EditorGuiToolbarStack.add( EWorldEditorToolbar );
|
||||
EditorGuiToolbarStack.remove( MeshRoadEditorToolbar );
|
||||
|
||||
MeshRoadEditorTreeWindow.setVisible( false );
|
||||
%this.map.pop();
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ $guiContent = new GuiControl(MeshRoadEditorToolbar,EditorGuiGroup) {
|
|||
Extent = "800 32";
|
||||
MinExtent = "8 2";
|
||||
canSave = "1";
|
||||
Visible = "0";
|
||||
Visible = "1";
|
||||
hovertime = "1000";
|
||||
|
||||
new GuiTextCtrl() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue