mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +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
|
|
@ -61,7 +61,8 @@ function VPathEditorPlugin::onWorldEditorStartup( %this )
|
|||
}
|
||||
|
||||
// Add Toolbar.
|
||||
EditorGuiToolbar.add( VPathEditorToolbar );
|
||||
//EditorGuiToolbar.add( VPathEditorToolbar );
|
||||
|
||||
|
||||
// Populate Type Menu.
|
||||
VPathEditorToolbarPathTypeMenu.clear();
|
||||
|
|
@ -119,7 +120,9 @@ function VPathEditorPlugin::onActivated( %this )
|
|||
EVPathEditor.setVisible( true );
|
||||
EVPathEditor.makeFirstResponder( true );
|
||||
EditorGui.bringToFront( EVPathEditor );
|
||||
VPathEditorToolbar.setVisible( true );
|
||||
EditorGuiToolbarStack.remove( EWorldEditorToolbar );
|
||||
EditorGuiToolbarStack.add( VPathEditorToolbar );
|
||||
|
||||
VPathTreeView.open( GetServerPathSet(), true );
|
||||
|
||||
// Sync Gizmo.
|
||||
|
|
@ -147,7 +150,9 @@ function VPathEditorPlugin::onDeactivated( %this )
|
|||
{
|
||||
// Hide Editor.
|
||||
EVPathEditor.setVisible( false );
|
||||
VPathEditorToolbar.setVisible( false );
|
||||
|
||||
EditorGuiToolbarStack.add( EWorldEditorToolbar );
|
||||
EditorGuiToolbarStack.remove( VPathEditorToolbar );
|
||||
|
||||
// Disable Map.
|
||||
%this.EditorMap.pop();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue