From a3b4e527c4e30ba29067f67f8066d0e95cf9ed65 Mon Sep 17 00:00:00 2001 From: OTHGMars Date: Mon, 22 Apr 2019 00:09:29 -0400 Subject: [PATCH] Adds Force Update Materials to import options gui. --- .../game/tools/gui/assimpImport.ed.gui | 22 +++++++++++++++++++ .../Full/game/tools/gui/assimpImport.ed.gui | 22 +++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/Templates/BaseGame/game/tools/gui/assimpImport.ed.gui b/Templates/BaseGame/game/tools/gui/assimpImport.ed.gui index e42d9ab9d..981c1f827 100644 --- a/Templates/BaseGame/game/tools/gui/assimpImport.ed.gui +++ b/Templates/BaseGame/game/tools/gui/assimpImport.ed.gui @@ -582,6 +582,28 @@ canSaveDynamicFields = "0"; }; + new GuiCheckBoxCtrl() { + useInactiveState = "0"; + text = " Force update materials.cs"; + groupNum = "-1"; + buttonType = "ToggleButton"; + useMouseEvents = "0"; + isContainer = "0"; + Profile = "ToolsGuiCheckBoxProfile"; + HorizSizing = "right"; + VertSizing = "bottom"; + position = "210 150"; + Extent = "200 13"; + MinExtent = "8 2"; + canSave = "1"; + Visible = "1"; + variable = "$Assimp::ForceUpdateMats"; + tooltipprofile = "ToolsGuiToolTipProfile"; + ToolTip = "Forces update of materials.cs (even if Materials already exist)"; + hovertime = "1000"; + canSaveDynamicFields = "0"; + }; + new GuiButtonCtrl() { text = "OK"; groupNum = "-1"; diff --git a/Templates/Full/game/tools/gui/assimpImport.ed.gui b/Templates/Full/game/tools/gui/assimpImport.ed.gui index e42d9ab9d..981c1f827 100644 --- a/Templates/Full/game/tools/gui/assimpImport.ed.gui +++ b/Templates/Full/game/tools/gui/assimpImport.ed.gui @@ -582,6 +582,28 @@ canSaveDynamicFields = "0"; }; + new GuiCheckBoxCtrl() { + useInactiveState = "0"; + text = " Force update materials.cs"; + groupNum = "-1"; + buttonType = "ToggleButton"; + useMouseEvents = "0"; + isContainer = "0"; + Profile = "ToolsGuiCheckBoxProfile"; + HorizSizing = "right"; + VertSizing = "bottom"; + position = "210 150"; + Extent = "200 13"; + MinExtent = "8 2"; + canSave = "1"; + Visible = "1"; + variable = "$Assimp::ForceUpdateMats"; + tooltipprofile = "ToolsGuiToolTipProfile"; + ToolTip = "Forces update of materials.cs (even if Materials already exist)"; + hovertime = "1000"; + canSaveDynamicFields = "0"; + }; + new GuiButtonCtrl() { text = "OK"; groupNum = "-1";