mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
Misc fixes to ensure that the default postFX save, load and editing process is valid
Also fixes it so if a level asset doesn't point to a valid postfx preset file, it'll generate a clean one on save
This commit is contained in:
parent
302a64edd1
commit
9ca276fef0
9 changed files with 63 additions and 114 deletions
|
|
@ -134,6 +134,7 @@ function editScenePostEffects(%scene)
|
|||
function PostFXEditorNewPFXWindow::showDialog(%this)
|
||||
{
|
||||
%this.setHidden(false);
|
||||
PostFXEditorNewPFXWindow.selectWindow();
|
||||
|
||||
PostFXEditorNewPFXList.clear();
|
||||
|
||||
|
|
|
|||
|
|
@ -115,10 +115,9 @@
|
|||
active = "1";
|
||||
command = "PostFXEditorNewPFXWindow.showDialog();";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
tooltip = "Add a new Import Config";
|
||||
tooltip = "Add a new PostFX";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
internalName = "newImportConfig";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
|
|
@ -142,10 +141,9 @@
|
|||
active = "1";
|
||||
command = "PostFXEditor.removePostFX();";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
tooltip = "Delets the currently selected import config";
|
||||
tooltip = "Delets the currently selected PostFX";
|
||||
hovertime = "1000";
|
||||
isContainer = "0";
|
||||
internalName = "deleteImportConfig";
|
||||
canSave = "1";
|
||||
canSaveDynamicFields = "0";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue