mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
Reworks the open/close functions of the gui and world editors so they will properly toggle between and clean up when closed.
This commit is contained in:
parent
0aea1d5c33
commit
f8b650f7a1
16 changed files with 238 additions and 142 deletions
|
|
@ -105,7 +105,7 @@ function EditorInspectorBase::onAdd( %this )
|
|||
superClass = "MenuBuilder";
|
||||
isPopup = true;
|
||||
|
||||
item[ 0 ] = "Edit Profile" TAB "" TAB "if( !$InGuiEditor ) toggleGuiEditor( true ); GuiEditor.editProfile( %this.inspectorField.getData() );";
|
||||
item[ 0 ] = "Edit Profile" TAB "" TAB "if( !GuiEditorIsActive() ) toggleGuiEditor( true ); GuiEditor.editProfile( %this.inspectorField.getData() );";
|
||||
item[ 1 ] = "Jump to Definition in Torsion" TAB "" TAB "EditorOpenDeclarationInTorsion( %this.inspectorField.getData() );";
|
||||
item[ 2 ] = "Inspect Object" TAB "" TAB "inspectObject( %this.inspectorField.getData() );";
|
||||
item[ 3 ] = "-";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue