浏览代码

repurposed sliders

repurposed and renamed the 2 sliders in the gui to be for settings in vhacd
added the drop down for fillMode types but it is not hooked up to source yet
marauder2k7 1 年之前
父节点
当前提交
78f6206cde

+ 9 - 9
Engine/source/ts/tsMeshFit.cpp

@@ -183,7 +183,7 @@ public:
    void fit26_DOP();
 
    // Convex Hulls
-   void fitConvexHulls( U32 depth, F32 mergeThreshold, F32 concavityThreshold, U32 maxHullVerts,
+   void fitConvexHulls( U32 depth, F32 mergeThreshold, U32 concavityThreshold, U32 maxHullVerts,
                         F32 boxMaxError, F32 sphereMaxError, F32 capsuleMaxError );
 };
 
@@ -691,17 +691,17 @@ void MeshFit::fitK_DOP( const Vector<Point3F>& planes )
 
 //---------------------------
 // Best-fit set of convex hulls
-void MeshFit::fitConvexHulls( U32 depth, F32 mergeThreshold, F32 concavityThreshold, U32 maxHullVerts,
+void MeshFit::fitConvexHulls( U32 depth,  F32 mergeThreshold, U32 concavityThreshold, U32 maxHullVerts,
                               F32 boxMaxError, F32 sphereMaxError, F32 capsuleMaxError )
 {
    VHACD::IVHACD::Parameters p;
    p.m_fillMode = VHACD::FillMode::FLOOD_FILL;
    p.m_maxNumVerticesPerCH = maxHullVerts;
    p.m_shrinkWrap = true;
-   p.m_maxRecursionDepth = 64;
-   p.m_minimumVolumePercentErrorAllowed = 10;
+   p.m_maxRecursionDepth = depth;
+   p.m_minimumVolumePercentErrorAllowed = mergeThreshold;
    p.m_resolution = 10000;
-   p.m_maxConvexHulls = depth;
+   p.m_maxConvexHulls = concavityThreshold;
 
    VHACD::IVHACD* iface = VHACD::CreateVHACD_ASYNC();
 
@@ -929,8 +929,8 @@ DefineTSShapeConstructorMethod( addPrimitive, bool, ( const char* meshName, cons
    return true;
 }}
 
-DefineTSShapeConstructorMethod( addCollisionDetail, bool, ( S32 size, const char* type, const char* target, S32 depth, F32 merge, F32 concavity, S32 maxVerts, F32 boxMaxError, F32 sphereMaxError, F32 capsuleMaxError ), ( 4, 30, 30, 32, 0, 0, 0 ),
-   ( size, type, target, depth, merge, concavity, maxVerts, boxMaxError, sphereMaxError, capsuleMaxError ), false,
+DefineTSShapeConstructorMethod( addCollisionDetail, bool, ( S32 size, const char* type, const char* target, S32 depth, F32 merge, S32 maxHulls, S32 maxVerts, F32 boxMaxError, F32 sphereMaxError, F32 capsuleMaxError ), ( 4, 30, 30, 32, 0, 0, 0 ),
+   ( size, type, target, depth, merge, maxHulls, maxVerts, boxMaxError, sphereMaxError, capsuleMaxError ), false,
    "Autofit a mesh primitive or set of convex hulls to the shape geometry. Hulls "
    "may optionally be converted to boxes, spheres and/or capsules based on their "
    "volume.\n"
@@ -942,7 +942,7 @@ DefineTSShapeConstructorMethod( addCollisionDetail, bool, ( S32 size, const char
       "whole shape), or the name of an object in the shape\n"
    "@param depth maximum split recursion depth (hulls only)\n"
    "@param merge volume % threshold used to merge hulls together (hulls only)\n"
-   "@param concavity volume % threshold used to detect concavity (hulls only)\n"
+   "@param maxHulls allowed to be generated (hulls only)\n"
    "@param maxVerts maximum number of vertices per hull (hulls only)\n"
    "@param boxMaxError max % volume difference for a hull to be converted to a "
       "box (hulls only)\n"
@@ -984,7 +984,7 @@ DefineTSShapeConstructorMethod( addCollisionDetail, bool, ( S32 size, const char
       fit.fit26_DOP();
    else if ( !dStricmp( type, "convex hulls" ) )
    {
-      fit.fitConvexHulls( depth, merge, concavity, maxVerts,
+      fit.fitConvexHulls( depth, merge, maxHulls, maxVerts,
                            boxMaxError, sphereMaxError, capsuleMaxError );
    }
    else

+ 1 - 1
Engine/source/ts/tsShapeConstruct.h

@@ -315,7 +315,7 @@ public:
    const char* getImposterSettings(S32 index);
    S32 addImposter(S32 size, S32 equatorSteps, S32 polarSteps, S32 dl, S32 dim, bool includePoles, F32 polarAngle);
    bool removeImposter();
-   bool addCollisionDetail(S32 size, const char* type, const char* target, S32 depth = 4, F32 merge = 30.0f, F32 concavity = 30.0f, S32 maxVerts = 32, F32 boxMaxError = 0, F32 sphereMaxError = 0, F32 capsuleMaxError = 0);
+   bool addCollisionDetail(S32 size, const char* type, const char* target, S32 depth = 4, F32 merge = 30.0f, S32 maxHull = 30, S32 maxVerts = 32, F32 boxMaxError = 0, F32 sphereMaxError = 0, F32 capsuleMaxError = 0);
    ///@}
 
    /// @name Sequences

+ 598 - 1223
Templates/BaseGame/game/tools/shapeEditor/gui/shapeEdAdvancedWindow.ed.gui

@@ -9,7 +9,7 @@ else
 }
 
 //--- OBJECT WRITE BEGIN ---
-$guiContent = new GuiWindowCollapseCtrl(ShapeEdAdvancedWindow, EditorGuiGroup) {
+$guiContent = new GuiWindowCollapseCtrl(ShapeEdAdvancedWindow,EditorGuiGroup) {
    text = "::  Shape Editor - Advanced Properties";
    resizeWidth = "0";
    resizeHeight = "0";
@@ -38,112 +38,67 @@ $guiContent = new GuiWindowCollapseCtrl(ShapeEdAdvancedWindow, EditorGuiGroup) {
    canSave = "1";
    canSaveDynamicFields = "0";
    minSize = "50 50";
-   
+
    new GuiTabBookCtrl() {
-      TabPosition = "Top";
-      TabMargin = "6";
-      MinTabWidth = "32";
-      docking = "client";
-      Margin = "3 1 3 3";
-      Padding = "0 0 0 0";
-      AnchorTop = "1";
-      AnchorBottom = "0";
-      AnchorLeft = "1";
-      AnchorRight = "0";
-      position = "4 24";
-      extent = "220 243";
-      MinExtent = "8 -500";
-      HorizSizing = "width";
-      VertSizing = "height";
-      Profile = "ToolsGuiTabBookProfile";
-      Visible = "1";
-      tooltipprofile = "ToolsGuiToolTipProfile";
-      hovertime = "1000";
-      isContainer = "1";
+      tabMargin = "6";
+      minTabWidth = "32";
+      tabHeight = "20";
+      selectedPage = "3";
+      docking = "Client";
+      margin = "3 1 3 3";
+      position = "9 29";
+      extent = "1262 682";
+      minExtent = "8 -500";
+      horizSizing = "width";
+      vertSizing = "height";
+      profile = "ToolsGuiTabBookProfile";
+      tooltipProfile = "ToolsGuiToolTipProfile";
       internalName = "tabBook";
-      canSave = "1";
-      canSaveDynamicFields = "0";
 
       new GuiTabPageCtrl() {
          text = "Details";
-         maxLength = "1024";
-         Margin = "0 0 0 0";
-         Padding = "0 0 0 0";
-         AnchorTop = "1";
-         AnchorBottom = "0";
-         AnchorLeft = "1";
-         AnchorRight = "0";
-         Position = "0 19";
-         extent = "220 224";
-         MinExtent = "0 -500";
-         HorizSizing = "width";
-         VertSizing = "height";
-         Profile = "ToolsGuiTabPageProfile";
-         Visible = "0";
-         tooltipprofile = "ToolsGuiToolTipProfile";
-         hovertime = "1000";
-         isContainer = "1";
-         canSave = "1";
-         canSaveDynamicFields = "0";
+         position = "0 19";
+         extent = "1262 663";
+         minExtent = "0 -500";
+         horizSizing = "width";
+         vertSizing = "height";
+         profile = "ToolsGuiTabPageProfile";
+         visible = "0";
+         tooltipProfile = "ToolsGuiToolTipProfile";
+         hidden = "1";
 
          new GuiContainer() {
-            docking = "client";
-            Margin = "0 0 0 0";
-            Padding = "0 0 0 0";
-            AnchorTop = "1";
-            AnchorBottom = "0";
-            AnchorLeft = "1";
-            AnchorRight = "0";
-            position = "0 0";
-            extent = "202 224";
-            MinExtent = "8 8";
-            HorizSizing = "width";
-            VertSizing = "bottom";
-            Profile = "ToolsGuiDefaultProfile";
-            Visible = "1";
-            tooltipprofile = "ToolsGuiToolTipProfile";
-            hovertime = "1000";
-            isContainer = "1";
-            canSave = "1";
-            canSaveDynamicFields = "0";
+            docking = "Client";
+            extent = "1262 663";
+            minExtent = "8 8";
+            horizSizing = "width";
+            profile = "ToolsGuiDefaultProfile";
+            tooltipProfile = "ToolsGuiToolTipProfile";
 
             new GuiContainer() {
-               position = "0 0";
-               extent = "202 157";
-               HorizSizing = "width";
-               VertSizing = "height";
-               Profile = "inspectorStyleRolloutDarkProfile";
+               extent = "1262 596";
+               horizSizing = "width";
+               vertSizing = "height";
+               profile = "inspectorStyleRolloutDarkProfile";
+               tooltipProfile = "GuiToolTipProfile";
 
                new GuiTextCtrl() {
                   text = "Levels:";
                   position = "4 1";
-                  Extent = "272 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "width";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextProfile";
+                  extent = "1332 16";
+                  horizSizing = "width";
+                  profile = "ToolsGuiTextProfile";
+                  tooltipProfile = "GuiToolTipProfile";
                };
                new GuiCheckBoxCtrl() {
-                  useInactiveState = "0";
                   text = "Levels";
-                  groupNum = "-1";
-                  buttonType = "ToggleButton";
-                  useMouseEvents = "0";
                   position = "5 22";
-                  Extent = "49 13";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiCheckBoxProfile";
-                  Visible = "1";
-                  Variable = "ShapeEdShapeView.fixedDetail";
-                  Command = "ShapeEdAdvancedWindow-->detailSlider.setActive($ThisControl.getValue()); ShapeEdAdvancedWindow-->levelsInactive.setVisible( !$ThisControl.getValue() );";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Allow the slider to select the current detail level";
-                  hovertime = "1000";
-                  isContainer = "0";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  extent = "49 13";
+                  profile = "ToolsGuiCheckBoxProfile";
+                  variable = "ShapeEdShapeView.fixedDetail";
+                  command = "ShapeEdAdvancedWindow-->detailSlider.setActive($ThisControl.getValue()); ShapeEdAdvancedWindow-->levelsInactive.setVisible( !$ThisControl.getValue() );";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Allow the slider to select the current detail level";
                };
                new GuiSliderCtrl() {
                   range = "0 0";
@@ -151,558 +106,319 @@ $guiContent = new GuiWindowCollapseCtrl(ShapeEdAdvancedWindow, EditorGuiGroup) {
                   snap = "1";
                   value = "0";
                   position = "57 22";
-                  Extent = "118 14";
-                  MinExtent = "8 2";
-                  HorizSizing = "width";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiSliderBoxProfile";
-                  Visible = "1";
-                  Variable = "ShapeEdShapeView.currentDL";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Drag the slider to change the current detail level";
-                  hovertime = "1000";
-                  isContainer = "0";
+                  extent = "1178 14";
+                  horizSizing = "width";
+                  profile = "ToolsGuiSliderBoxProfile";
+                  variable = "ShapeEdShapeView.currentDL";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Drag the slider to change the current detail level";
                   internalName = "detailSlider";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
                };
-               new GuiBitmapCtrl(){
-                  bitmapAsset = "ToolsModule:inactive_overlay_image"; 
+               new GuiBitmapCtrl() {
+                  BitmapAsset = "ToolsModule:inactive_overlay_image";
                   position = "57 19";
-                  Extent = "290 20";
+                  extent = "290 20";
+                  profile = "GuiDefaultProfile";
+                  tooltipProfile = "GuiToolTipProfile";
                   tooltip = "Levels needs to be selected to enable the detail level slider";
                   hovertime = "500";
-                  isContainer = true;
+                  isContainer = "1";
                   internalName = "levelsInactive";
                };
                new GuiTextCtrl() {
                   text = "0";
-                  maxLength = "1024";
-                  Margin = "0 0 0 0";
-                  Padding = "0 0 0 0";
-                  AnchorTop = "1";
-                  AnchorBottom = "0";
-                  AnchorLeft = "1";
-                  AnchorRight = "0";
-                  position = "182 20";
-                  Extent = "15 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "left";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextProfile";
-                  Visible = "1";
-                  Variable = "ShapeEdShapeView.currentDL";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Index of the current detail level";
-                  hovertime = "1000";
+                  position = "1242 20";
+                  extent = "15 16";
+                  horizSizing = "left";
+                  profile = "ToolsGuiTextProfile";
+                  variable = "ShapeEdShapeView.currentDL";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Index of the current detail level";
                   isContainer = "0";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
                };
                new GuiTextCtrl() {
                   text = "Polys";
                   position = "37 40";
                   extent = "26 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextRightProfile";
-                  Visible = "1";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  hovertime = "1000";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  profile = "ToolsGuiTextRightProfile";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
                };
                new GuiTextCtrl() {
                   text = "0";
                   position = "77 40";
-                  Extent = "40 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextProfile";
-                  Visible = "1";
-                  Variable = "ShapeEdShapeView.detailPolys";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Number of polygons in the current detail level";
-                  hovertime = "1000";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  extent = "40 16";
+                  profile = "ToolsGuiTextProfile";
+                  variable = "ShapeEdShapeView.detailPolys";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Number of polygons in the current detail level";
                };
                new GuiTextCtrl() {
                   text = "Size";
                   position = "127 40";
                   extent = "24 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextRightProfile";
-                  Visible = "1";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  hovertime = "1000";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  profile = "ToolsGuiTextRightProfile";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
                };
                new GuiTextEditCtrl() {
                   position = "160 39";
-                  extent = "35 18";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextEditProfile";
-                  Visible = "1";
-                  Variable = "ShapeEdShapeView.detailSize";
-                  AltCommand = "ShapeEdAdvancedWindow.onEditDetailSize();";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Edit this value to change the size of the current detail";
-                  hovertime = "1000";
+                  extent = "35 20";
+                  profile = "ToolsGuiTextEditProfile";
+                  variable = "ShapeEdShapeView.detailSize";
+                  altCommand = "ShapeEdAdvancedWindow.onEditDetailSize();";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Edit this value to change the size of the current detail";
                   internalName = "detailSize";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
                };
                new GuiTextCtrl() {
                   text = "Pixels";
                   position = "35 60";
                   extent = "28 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextRightProfile";
-                  Visible = "1";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  hovertime = "1000";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  profile = "ToolsGuiTextRightProfile";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
                };
                new GuiTextCtrl() {
                   text = "0";
                   position = "77 60";
-                  Extent = "40 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextProfile";
-                  Visible = "1";
-                  Variable = "ShapeEdShapeView.pixelSize";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Current size (in pixels) of the shape";
-                  hovertime = "1000";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  extent = "40 16";
+                  profile = "ToolsGuiTextProfile";
+                  variable = "ShapeEdShapeView.pixelSize";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Current size (in pixels) of the shape";
                };
                new GuiTextCtrl() {
                   text = "Distance";
                   position = "109 60";
-                  Extent = "42 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextRightProfile";
-                  Visible = "1";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  hovertime = "1000";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  extent = "42 16";
+                  profile = "ToolsGuiTextRightProfile";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
                };
                new GuiTextCtrl() {
-                  text = "";
+                  text = "5";
                   position = "160 60";
                   extent = "38 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextProfile";
-                  Visible = "1";
-                  Variable = "ShapeEdShapeView.orbitDist";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Current distance from the shape to the camera";
-                  hovertime = "1000";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  profile = "ToolsGuiTextProfile";
+                  variable = "ShapeEdShapeView.orbitDist";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Current distance from the shape to the camera";
                };
                new GuiTextCtrl() {
                   text = "Materials";
                   position = "20 80";
                   extent = "43 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextRightProfile";
-                  Visible = "1";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  hovertime = "1000";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  profile = "ToolsGuiTextRightProfile";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
                };
                new GuiTextCtrl() {
-                  text = "";
+                  text = "0";
                   position = "77 80";
                   extent = "40 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextProfile";
-                  Visible = "1";
-                  Variable = "ShapeEdShapeView.numMaterials";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Number of materials used by all meshes at this detail level";
-                  hovertime = "1000";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  profile = "ToolsGuiTextProfile";
+                  variable = "ShapeEdShapeView.numMaterials";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Number of materials used by all meshes at this detail level";
                };
                new GuiTextCtrl() {
                   text = "Bones";
                   position = "120 80";
                   extent = "31 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextRightProfile";
-                  Visible = "1";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  hovertime = "1000";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  profile = "ToolsGuiTextRightProfile";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
                };
                new GuiTextCtrl() {
-                  text = "5";
+                  text = "0";
                   position = "160 80";
                   extent = "38 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextProfile";
-                  Visible = "1";
-                  Variable = "ShapeEdShapeView.numBones";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Number of bones at this detail level (skins only)";
-                  hovertime = "1000";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  profile = "ToolsGuiTextProfile";
+                  variable = "ShapeEdShapeView.numBones";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Number of bones at this detail level (skins only)";
                };
                new GuiTextCtrl() {
                   text = "Primitives";
                   position = "19 100";
                   extent = "44 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextRightProfile";
-                  Visible = "1";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  hovertime = "1000";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  profile = "ToolsGuiTextRightProfile";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
                };
                new GuiTextCtrl() {
-                  text = "";
+                  text = "0";
                   position = "77 100";
                   extent = "40 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextProfile";
-                  Visible = "1";
-                  Variable = "ShapeEdShapeView.numDrawCalls";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Total number of mesh primitives (triangle lists) at this detail level";
-                  hovertime = "1000";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  profile = "ToolsGuiTextProfile";
+                  variable = "ShapeEdShapeView.numDrawCalls";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Total number of mesh primitives (triangle lists) at this detail level";
                };
                new GuiTextCtrl() {
                   text = "Weights";
                   position = "109 100";
-                  Extent = "42 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextRightProfile";
-                  Visible = "1";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  hovertime = "1000";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  extent = "42 16";
+                  profile = "ToolsGuiTextRightProfile";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
                };
                new GuiTextCtrl() {
-                  text = "5";
+                  text = "0";
                   position = "160 100";
                   extent = "38 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextProfile";
-                  Visible = "1";
-                  Variable = "ShapeEdShapeView.numWeights";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Number of vertex weights at this detail level (skins only)";
-                  hovertime = "1000";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  profile = "ToolsGuiTextProfile";
+                  variable = "ShapeEdShapeView.numWeights";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Number of vertex weights at this detail level (skins only)";
                };
                new GuiTextCtrl() {
-                  Profile = "ToolsGuiTextProfile";
                   text = "Col Meshes";
                   position = "7 120";
                   extent = "56 16";
-                  horizSizing = "right";
-                  vertSizing = "bottom";
+                  profile = "ToolsGuiTextProfile";
+                  tooltipProfile = "GuiToolTipProfile";
                };
                new GuiTextCtrl() {
-                  text = "";
+                  text = "0";
                   position = "74 120";
                   extent = "40 16";
-                  horizSizing = "right";
-                  vertSizing = "bottom";
-                  Variable = "ShapeEdShapeView.colMeshes";
+                  profile = "GuiTextProfile";
+                  variable = "ShapeEdShapeView.colMeshes";
+                  tooltipProfile = "GuiToolTipProfile";
                };
                new GuiTextCtrl() {
-                  Profile = "ToolsGuiTextProfile";
                   text = "Col Polys";
                   position = "108 120";
                   extent = "43 16";
-                  horizSizing = "right";
-                  vertSizing = "bottom";
+                  profile = "ToolsGuiTextProfile";
+                  tooltipProfile = "GuiToolTipProfile";
                };
                new GuiTextCtrl() {
-                  text = "";
+                  text = "0";
                   position = "160 120";
                   extent = "38 16";
-                  horizSizing = "right";
-                  vertSizing = "bottom";
-                  Variable = "ShapeEdShapeView.colPolys";
+                  profile = "GuiTextProfile";
+                  variable = "ShapeEdShapeView.colPolys";
+                  tooltipProfile = "GuiToolTipProfile";
                };
             };
             new GuiContainer() {
                position = "0 138";
-               Extent = "202 90";
-               MinExtent = "8 8";
-               HorizSizing = "width";
-               VertSizing = "bottom";
-               Profile = "inspectorStyleRolloutDarkProfile";
-               isContainer = "1";
+               extent = "1262 90";
+               minExtent = "8 8";
+               horizSizing = "width";
+               profile = "inspectorStyleRolloutDarkProfile";
+               tooltipProfile = "GuiToolTipProfile";
 
-               new GuiTextCtrl() {  // Header
+               new GuiTextCtrl() {
                   text = "Imposters:";
                   position = "5 1";
-                  Extent = "192 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextProfile";
+                  extent = "192 16";
+                  profile = "ToolsGuiTextProfile";
+                  tooltipProfile = "GuiToolTipProfile";
                };
                new GuiCheckBoxCtrl() {
-                  useInactiveState = "0";
                   text = "Use Imposters";
-                  groupNum = "-1";
-                  buttonType = "ToggleButton";
-                  useMouseEvents = "0";
                   position = "72 2";
-                  Extent = "83 13";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiCheckBoxProfile";
-                  Visible = "1";
-                  Command = "ShapeEdDetails.onToggleImposter( $ThisControl.getValue() );";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Controls whether this shape uses an imposter detail level";
-                  hovertime = "1000";
-                  isContainer = "0";
+                  extent = "83 13";
+                  profile = "ToolsGuiCheckBoxProfile";
+                  command = "ShapeEdDetails.onToggleImposter( $ThisControl.getValue() );";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Controls whether this shape uses an imposter detail level";
                   internalName = "bbUseImposters";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
                };
                new GuiTextCtrl() {
                   text = "Detail Level";
-                  maxLength = "1024";
-                  Margin = "0 0 0 0";
-                  Padding = "0 0 0 0";
-                  AnchorTop = "1";
-                  AnchorBottom = "0";
-                  AnchorLeft = "1";
-                  AnchorRight = "0";
                   position = "6 23";
-                  Extent = "57 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextRightProfile";
-                  Visible = "1";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  hovertime = "1000";
+                  extent = "57 16";
+                  profile = "ToolsGuiTextRightProfile";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
                   isContainer = "0";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
                };
                new GuiTextEditCtrl() {
                   position = "68 22";
-                  Extent = "36 18";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextEditProfile";
-                  Visible = "1";
-                  AltCommand = "ShapeEdDetails.onEditImposter();";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Specifies the detail level used to generate the imposters";
-                  hovertime = "1000";
+                  extent = "36 20";
+                  profile = "ToolsGuiTextEditProfile";
+                  altCommand = "ShapeEdDetails.onEditImposter();";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Specifies the detail level used to generate the imposters";
                   internalName = "bbDetailLevel";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
                };
                new GuiTextCtrl() {
                   text = "Dimension";
                   position = "6 43";
-                  Extent = "57 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextRightProfile";
-                  Visible = "1";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  hovertime = "1000";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  extent = "57 16";
+                  profile = "ToolsGuiTextRightProfile";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
                };
                new GuiTextEditCtrl() {
                   position = "72 43";
-                  Extent = "36 18";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextEditProfile";
-                  Visible = "1";
-                  AltCommand = "ShapeEdDetails.onEditImposter();";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Specifies the dimension (width/height) of the imposters in pixels";
-                  hovertime = "1000";
+                  extent = "36 20";
+                  profile = "ToolsGuiTextEditProfile";
+                  altCommand = "ShapeEdDetails.onEditImposter();";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Specifies the dimension (width/height) of the imposters in pixels";
                   internalName = "bbDimension";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
                };
                new GuiTextCtrl() {
                   text = "X Steps";
                   position = "6 65";
-                  Extent = "57 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextRightProfile";
-                  Visible = "1";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  hovertime = "1000";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  extent = "57 16";
+                  profile = "ToolsGuiTextRightProfile";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
                };
                new GuiTextEditCtrl() {
                   position = "68 64";
-                  Extent = "36 18";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextEditProfile";
-                  Visible = "1";
-                  AltCommand = "ShapeEdDetails.onEditImposter();";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Number of steps in the horizontal axis";
-                  hovertime = "1000";
+                  extent = "36 20";
+                  profile = "ToolsGuiTextEditProfile";
+                  altCommand = "ShapeEdDetails.onEditImposter();";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Number of steps in the horizontal axis";
                   internalName = "bbEquatorSteps";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
                };
                new GuiCheckBoxCtrl() {
-                  useInactiveState = "0";
                   text = "Include Poles";
-                  groupNum = "-1";
-                  buttonType = "ToggleButton";
                   position = "113 24";
-                  Extent = "83 18";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiCheckBoxProfile";
-                  Visible = "1";
-                  Command = "ShapeEdDetails.onEditImposter();";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Specifies whether to include the poles (top and bottom) of the shape";
-                  hovertime = "1000";
+                  extent = "83 18";
+                  profile = "ToolsGuiCheckBoxProfile";
+                  command = "ShapeEdDetails.onEditImposter();";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Specifies whether to include the poles (top and bottom) of the shape";
                   internalName = "bbIncludePoles";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
                };
                new GuiTextCtrl() {
                   text = "Y Steps";
-                  maxLength = "1024";
-                  Margin = "0 0 0 0";
-                  Padding = "0 0 0 0";
-                  AnchorTop = "1";
-                  AnchorBottom = "0";
-                  AnchorLeft = "1";
-                  AnchorRight = "0";
                   position = "116 44";
-                  Extent = "41 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextRightProfile";
-                  Visible = "1";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  Tooltip = "Number of steps in the vertical axis";
-                  hovertime = "1000";
+                  extent = "41 16";
+                  profile = "ToolsGuiTextRightProfile";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Number of steps in the vertical axis";
                   isContainer = "0";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
                };
                new GuiTextEditCtrl() {
                   position = "161 43";
-                  Extent = "36 18";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextEditProfile";
-                  Visible = "1";
-                  AltCommand = "ShapeEdDetails.onEditImposter();";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  hovertime = "1000";
+                  extent = "36 20";
+                  profile = "ToolsGuiTextEditProfile";
+                  altCommand = "ShapeEdDetails.onEditImposter();";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
                   internalName = "bbPolarSteps";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
                };
                new GuiTextCtrl() {
                   text = "Y Angle";
                   position = "116 65";
-                  Extent = "41 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextRightProfile";
-                  Visible = "1";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
+                  extent = "41 16";
+                  profile = "ToolsGuiTextRightProfile";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
                   tooltip = "Polar Angle - Y axis";
-                  hovertime = "1000";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
                };
                new GuiTextEditCtrl() {
                   position = "161 64";
-                  Extent = "36 18";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiTextEditProfile";
-                  Visible = "1";
-                  AltCommand = "ShapeEdDetails.onEditImposter();";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  hovertime = "1000";
+                  extent = "36 20";
+                  profile = "ToolsGuiTextEditProfile";
+                  altCommand = "ShapeEdDetails.onEditImposter();";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
                   internalName = "bbPolarAngle";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
                };
-               new GuiBitmapCtrl(){
-                  bitmapAsset = "ToolsModule:inactive_overlay_image";
+               new GuiBitmapCtrl() {
+                  BitmapAsset = "ToolsModule:inactive_overlay_image";
                   position = "4 18";
-                  Extent = "193 68";
+                  extent = "193 68";
+                  profile = "GuiDefaultProfile";
+                  tooltipProfile = "GuiToolTipProfile";
                   tooltip = "Imposters must be enabled, and an imposter detail level selected to edit these properties";
                   hovertime = "500";
                   isContainer = "1";
@@ -713,1060 +429,719 @@ $guiContent = new GuiWindowCollapseCtrl(ShapeEdAdvancedWindow, EditorGuiGroup) {
       };
       new GuiTabPageCtrl() {
          text = "Mounting";
-         maxLength = "1024";
-         Margin = "0 0 0 0";
-         Padding = "0 0 0 0";
-         AnchorTop = "1";
-         AnchorBottom = "0";
-         AnchorLeft = "1";
-         AnchorRight = "0";
-         Position = "0 19";
-         extent = "220 224";
-         MinExtent = "0 -500";
-         HorizSizing = "width";
-         VertSizing = "height";
-         Profile = "ToolsGuiTabPageProfile";
-         Visible = "0";
-         tooltipprofile = "ToolsGuiToolTipProfile";
-         hovertime = "1000";
-         canSave = "1";
-         canSaveDynamicFields = "0";
-         isContainer = "1";
-         
-         new GuiControl(){
-            docking = "client";
-            Margin = "0 0 0 0";
-            Profile = "ToolsGuiScrollProfile";
-            position = "0 0";
+         position = "0 19";
+         extent = "1262 663";
+         minExtent = "0 -500";
+         horizSizing = "width";
+         vertSizing = "height";
+         profile = "ToolsGuiTabPageProfile";
+         visible = "0";
+         tooltipProfile = "ToolsGuiToolTipProfile";
+         hidden = "1";
+
+         new GuiControl() {
             extent = "294 224";
-            
+            profile = "ToolsGuiScrollProfile";
+            tooltipProfile = "GuiToolTipProfile";
+            isContainer = "1";
          };
          new GuiContainer(ShapeEdMountWindow) {
-            docking = "none";
-            Margin = "0 0 0 0";
-            Padding = "0 0 0 0";
-            AnchorTop = "1";
-            AnchorBottom = "0";
-            AnchorLeft = "1";
-            AnchorRight = "0";
-            isContainer = "1";
-            position = "0 0";
-            extent = "220 224";
-            MinExtent = "8 8";
-            HorizSizing = "width";
+            docking = "None";
+            extent = "1262 663";
+            minExtent = "8 8";
+            horizSizing = "width";
             vertSizing = "height";
-            Profile = "ToolsGuiDefaultProfile";
-            Visible = "1";
-            tooltipprofile = "ToolsGuiToolTipProfile";
-            hovertime = "1000";
-            canSave = "1";
-            canSaveDynamicFields = "0";
+            profile = "ToolsGuiDefaultProfile";
+            tooltipProfile = "ToolsGuiToolTipProfile";
 
             new GuiCheckBoxCtrl() {
-               useInactiveState = "0";
                text = " Render mounted shapes";
-               groupNum = "-1";
-               buttonType = "ToggleButton";
-               useMouseEvents = "0";
                position = "2 2";
                extent = "200 13";
-               MinExtent = "8 2";
-               HorizSizing = "right";
-               VertSizing = "bottom";
-               Profile = "ToolsGuiCheckBoxProfile";
-               Visible = "1";
-               Variable = "ShapeEdShapeView.renderMounts";
-               tooltipprofile = "ToolsGuiToolTipProfile";
-               ToolTip = "Controls whether mounted shapes will be rendered in the 3D view";
-               hovertime = "1000";
-               isContainer = "0";
+               profile = "ToolsGuiCheckBoxProfile";
+               variable = "ShapeEdShapeView.renderMounts";
+               tooltipProfile = "ToolsGuiToolTipProfile";
+               tooltip = "Controls whether mounted shapes will be rendered in the 3D view";
                internalName = "renderMounts";
-               canSave = "1";
-               canSaveDynamicFields = "0";
             };
-            
             new GuiScrollCtrl() {
-               willFirstRespond = "1";
                hScrollBar = "alwaysOff";
                vScrollBar = "dynamic";
-               lockHorizScroll = "true";
-               lockVertScroll = "false";
-               constantThumbHeight = "0";
-               childMargin = "0 0";
-               mouseWheelScrollSpeed = "-1";
-               Margin = "0 0 0 0";
-               Padding = "0 0 0 0";
-               AnchorTop = "0";
-               AnchorBottom = "0";
-               AnchorLeft = "1";
-               AnchorRight = "0";
+               lockHorizScroll = "1";
+               anchorTop = "0";
                position = "0 17";
-               extent = "202 124";
-               MinExtent = "8 8";
-               HorizSizing = "width";
-               VertSizing = "height";
-               Profile = "ToolsGuiShapeEdScrollProfile";
-               Visible = "1";
-               tooltipprofile = "ToolsGuiToolTipProfile";
-               hovertime = "1000";
-               canSaveDynamicFields = "0";
-               canSave = "1";
-               isContainer = "1";
+               extent = "1244 563";
+               minExtent = "8 8";
+               horizSizing = "width";
+               vertSizing = "height";
+               profile = "GuiScrollProfile";
+               tooltipProfile = "ToolsGuiToolTipProfile";
 
                new GuiContainer() {
-                  position = "0 0";
-                  extent = "200 121";
-                  HorizSizing = "width";
-                  VertSizing = "height";
-                  Profile = "inspectorStyleRolloutListProfile";
+                  position = "1 1";
+                  extent = "1242 560";
+                  horizSizing = "width";
+                  vertSizing = "height";
+                  profile = "inspectorStyleRolloutListProfile";
+                  tooltipProfile = "GuiToolTipProfile";
                };
                new GuiTextListCtrl() {
                   columns = "-1 0 110 152";
-                  fitParentWidth = "1";
                   clipColumnText = "1";
-                  Position = "1 1";
-                  Extent = "200 11";
-                  MinExtent = "8 11";
-                  HorizSizing = "right";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiShapeEdTextListProfile";
-                  Visible = "1";
-                  Command = "ShapeEdMountWindow.update_onMountSelectionChanged();";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  hovertime = "1000";
+                  position = "1 1";
+                  extent = "1242 11";
+                  minExtent = "8 11";
+                  profile = "GuiDefaultProfile";
+                  command = "ShapeEdMountWindow.update_onMountSelectionChanged();";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
                   internalName = "mountList";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
                };
             };
             new GuiContainer() {
-               position = "0 140";
-               extent = "202 85";
-               HorizSizing = "width";
-               VertSizing = "top";
-               Profile = "inspectorStyleRolloutDarkProfile";
-               
+               position = "0 579";
+               extent = "1244 85";
+               horizSizing = "width";
+               vertSizing = "top";
+               profile = "inspectorStyleRolloutDarkProfile";
+               tooltipProfile = "GuiToolTipProfile";
+
                new GuiTextCtrl() {
                   text = "Mount Item";
                   position = "5 1";
                   extent = "134 16";
-                  minExtent = "8 2";
-                  horizSizing = "right";
-                  vertSizing = "bottom";
-                  Profile = "ToolsGuiTextProfile";
+                  profile = "ToolsGuiTextProfile";
+                  tooltipProfile = "GuiToolTipProfile";
                };
                new GuiBitmapButtonCtrl() {
-                  bitmapAsset = "ToolsModule:delete_n_image";
-                  groupNum = "-1";
-                  buttonType = "PushButton";
-                  useMouseEvents = "0";
-                  position = "182 1";
-                  Extent = "16 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "left";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiDefaultProfile";
-                  Visible = "1";
-                  Command = "ShapeEdMountWindow.unmountShape();";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Delete the selected mount item";
-                  canSaveDynamicFields = "0";
-                  canSave = "1";
-                  isContainer = "0";
+                  BitmapAsset = "ToolsModule:delete_n_image";
+                  position = "1224 1";
+                  extent = "16 16";
+                  horizSizing = "left";
+                  profile = "ToolsGuiDefaultProfile";
+                  command = "ShapeEdMountWindow.unmountShape();";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Delete the selected mount item";
                };
                new GuiBitmapButtonCtrl() {
-                  bitmapAsset = "ToolsModule:new_n_image";
-                  groupNum = "-1";
-                  buttonType = "PushButton";
-                  useMouseEvents = "0";
-                  position = "168 1";
-                  Extent = "16 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "left";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiDefaultProfile";
-                  Visible = "1";
-                  Command = "ShapeEdMountWindow.mountShape(-1);";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Mounts a new shape to the current model";
-                  isContainer = "0";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  BitmapAsset = "ToolsModule:new_n_image";
+                  position = "1210 1";
+                  extent = "16 16";
+                  horizSizing = "left";
+                  profile = "ToolsGuiDefaultProfile";
+                  command = "ShapeEdMountWindow.mountShape(-1);";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Mounts a new shape to the current model";
                };
-               /*new GuiButtonCtrl() {
-                  text = "Unmount All";
-                  groupNum = "-1";
-                  buttonType = "PushButton";
-                  useMouseEvents = "0";
-                  position = "109 97";
-                  extent = "78 18";
-                  MinExtent = "8 2";
-                  HorizSizing = "right";
-                  vertSizing = "top";
-                  Profile = "ToolsGuiButtonProfile";
-                  Visible = "1";
-                  Command = "ShapeEdMountWindow.unmountAll();";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Unmount all shapes";
-                  hovertime = "1000";
-                  isContainer = "0";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
-               };*/
                new GuiTextCtrl() {
                   text = "Shape";
                   position = "5 21";
                   extent = "33 16";
-                  minExtent = "8 2";
-                  horizSizing = "right";
-                  vertSizing = "bottom";
-                  Profile = "ToolsGuiTextRightProfile";
+                  profile = "ToolsGuiTextRightProfile";
+                  tooltipProfile = "GuiToolTipProfile";
                };
                new GuiPopUpMenuCtrl(ShapeEdMountShapeMenu) {
+                  text = "Browse...";
                   position = "42 20";
-                  extent = "156 18";
-                  HorizSizing = "width";
-                  vertSizing = "bottom";
-                  Profile = "ToolsGuiPopUpMenuProfile";
-                  ToolTip = "Select the model to mount";
+                  extent = "1198 18";
+                  horizSizing = "width";
+                  profile = "ToolsGuiPopUpMenuProfile";
+                  tooltipProfile = "GuiToolTipProfile";
+                  tooltip = "Select the model to mount";
                };
                new GuiTextCtrl() {
                   text = "Node";
                   position = "5 42";
                   extent = "33 16";
-                  minExtent = "8 2";
-                  horizSizing = "right";
-                  vertSizing = "bottom";
-                  Profile = "ToolsGuiTextRightProfile";
+                  profile = "ToolsGuiTextRightProfile";
+                  tooltipProfile = "GuiToolTipProfile";
                };
                new GuiPopUpMenuCtrl() {
                   position = "42 41";
-                  extent = "62 18";
-                  minExtent = "8 2";
+                  extent = "1104 18";
                   horizSizing = "width";
-                  vertSizing = "bottom";
-                  Profile = "ToolsGuiPopUpMenuProfile";
-                  Command = "ShapeEdMountWindow.updateSelectedMount();";
-                  ToolTip = "Select the node on which to mount the model";
+                  profile = "ToolsGuiPopUpMenuProfile";
+                  command = "ShapeEdMountWindow.updateSelectedMount();";
+                  tooltipProfile = "GuiToolTipProfile";
+                  tooltip = "Select the node on which to mount the model";
                   internalName = "mountNode";
                };
                new GuiTextCtrl() {
                   text = "Type";
-                  position = "110 42";
+                  position = "1152 42";
                   extent = "24 16";
-                  minExtent = "8 2";
                   horizSizing = "left";
-                  vertSizing = "bottom";
-                  Profile = "ToolsGuiTextProfile";
+                  profile = "ToolsGuiTextProfile";
+                  tooltipProfile = "GuiToolTipProfile";
                };
                new GuiPopUpMenuCtrl() {
-                  position = "138 41";
+                  text = "Image";
+                  position = "1180 41";
                   extent = "60 18";
                   horizSizing = "left";
-                  vertSizing = "bottom";
-                  Profile = "ToolsGuiPopUpMenuProfile";
-                  Command = "ShapeEdMountWindow.updateSelectedMount();";
-                  ToolTip = "Select the type of mounting to use";
+                  profile = "ToolsGuiPopUpMenuProfile";
+                  command = "ShapeEdMountWindow.updateSelectedMount();";
+                  tooltipProfile = "GuiToolTipProfile";
+                  tooltip = "Select the type of mounting to use";
                   internalName = "mountType";
                };
                new GuiPopUpMenuCtrl() {
+                  text = "<rootpose>";
                   position = "5 62";
-                  extent = "99 18";
-                  HorizSizing = "width";
-                  vertSizing = "bottom";
-                  Profile = "ToolsGuiPopUpMenuProfile";
-                  Command = "ShapeEdMountWindow.setMountThreadSequence();";
-                  ToolTip = "Select the sequence to play on the mounted model";
+                  extent = "1141 18";
+                  horizSizing = "width";
+                  profile = "ToolsGuiPopUpMenuProfile";
+                  command = "ShapeEdMountWindow.setMountThreadSequence();";
+                  tooltipProfile = "GuiToolTipProfile";
+                  tooltip = "Select the sequence to play on the mounted model";
                   internalName = "mountSeq";
                };
                new GuiSliderCtrl(ShapeEdMountSeqSlider) {
-                  range = "0 1";
                   ticks = "0";
-                  snap = "0";
                   value = "0";
                   position = "109 64";
-                  extent = "68 14";
-                  MinExtent = "8 2";
-                  HorizSizing = "width";
-                  VertSizing = "top";
-                  Profile = "ToolsGuiSliderBoxProfile";
-                  Visible = "1";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Drag the slider to scrub through the sequence keyframes";
-                  hovertime = "1000";
-                  isContainer = "0";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  extent = "1110 14";
+                  horizSizing = "width";
+                  vertSizing = "top";
+                  profile = "ToolsGuiSliderBoxProfile";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Drag the slider to scrub through the sequence keyframes";
                };
                new GuiBitmapButtonCtrl() {
-                  bitmapAsset = "ToolsModule:playfwd_btn_n_image";
+                  BitmapAsset = "ToolsModule:playfwd_btn_n_image";
                   groupNum = "0";
                   buttonType = "ToggleButton";
-                  useMouseEvents = "0";
-                  position = "180 62";
-                  Extent = "18 18";
-                  MinExtent = "8 2";
-                  HorizSizing = "left";
+                  position = "1222 62";
+                  extent = "18 18";
+                  horizSizing = "left";
                   vertSizing = "top";
-                  Profile = "ToolsGuiButtonProfile";
-                  Visible = "1";
-                  Command = "ShapeEdMountWindow.toggleMountThreadPlayback();";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Play forwards";
-                  hovertime = "1000";
-                  isContainer = "0";
+                  profile = "ToolsGuiButtonProfile";
+                  command = "ShapeEdMountWindow.toggleMountThreadPlayback();";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Play forwards";
                   internalName = "mountPlayBtn";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
                };
             };
          };
       };
       new GuiTabPageCtrl() {
          text = "Threads";
-         maxLength = "1024";
-         Margin = "0 0 0 0";
-         Padding = "0 0 0 0";
-         AnchorTop = "1";
-         AnchorBottom = "0";
-         AnchorLeft = "1";
-         AnchorRight = "0";
-         Position = "0 19";
-         extent = "220 224";
-         MinExtent = "0 -500";
-         HorizSizing = "width";
-         VertSizing = "height";
-         Profile = "ToolsGuiTabPageProfile";
-         Visible = "0";
-         tooltipprofile = "ToolsGuiToolTipProfile";
-         hovertime = "1000";
-         isContainer = "1";
-         canSave = "1";
-         canSaveDynamicFields = "0";
-         
+         position = "0 19";
+         extent = "1262 663";
+         minExtent = "0 -500";
+         horizSizing = "width";
+         vertSizing = "height";
+         profile = "ToolsGuiTabPageProfile";
+         visible = "0";
+         tooltipProfile = "ToolsGuiToolTipProfile";
+         hidden = "1";
+
          new GuiContainer(ShapeEdThreadWindow) {
-            docking = "client";
-            Margin = "0 0 0 0";
-            Padding = "0 0 0 0";
-            AnchorTop = "1";
-            AnchorBottom = "0";
-            AnchorLeft = "1";
-            AnchorRight = "0";
-            position = "0 0";
-            extent = "202 224";
-            MinExtent = "8 8";
-            HorizSizing = "width";
-            VertSizing = "bottom";
-            Profile = "ToolsGuiDefaultProfile";
-            Visible = "1";
-            tooltipprofile = "ToolsGuiToolTipProfile";
-            hovertime = "1000";
-            isContainer = "1";
-            canSave = "1";
-            canSaveDynamicFields = "0";
-            
+            docking = "Client";
+            extent = "1262 663";
+            minExtent = "8 8";
+            horizSizing = "width";
+            profile = "ToolsGuiDefaultProfile";
+            tooltipProfile = "ToolsGuiToolTipProfile";
+
             new GuiContainer() {
-               position = "0 0";
-               extent = "203 141";
-               HorizSizing = "width";
-               VertSizing = "height";
-               Profile = "inspectorStyleRolloutDarkProfile";
-                  
+               extent = "1263 580";
+               horizSizing = "width";
+               vertSizing = "height";
+               profile = "inspectorStyleRolloutDarkProfile";
+               tooltipProfile = "GuiToolTipProfile";
+
                new GuiTextCtrl() {
                   text = "Thread";
                   position = "4 1";
                   extent = "41 16";
-                  minExtent = "8 2";
-                  horizSizing = "right";
-                  vertSizing = "bottom";
-                  Profile = "ToolsGuiTextProfile";
+                  profile = "ToolsGuiTextProfile";
+                  tooltipProfile = "GuiToolTipProfile";
                };
                new GuiScrollCtrl() {
-                  willFirstRespond = "1";
                   hScrollBar = "alwaysOff";
                   vScrollBar = "dynamic";
-                  lockHorizScroll = "true";
-                  lockVertScroll = "false";
-                  constantThumbHeight = "0";
-                  childMargin = "0 0";
-                  mouseWheelScrollSpeed = "-1";
-                  Margin = "0 0 0 0";
-                  Padding = "0 0 0 0";
-                  AnchorTop = "0";
-                  AnchorBottom = "0";
-                  AnchorLeft = "1";
-                  AnchorRight = "0";
+                  lockHorizScroll = "1";
+                  anchorTop = "0";
                   position = "0 17";
-                  extent = "47 124";
-                  MinExtent = "8 8";
-                  HorizSizing = "right";
-                  VertSizing = "height";
-                  Profile = "ToolsGuiShapeEdScrollProfile";
-                  Visible = "1";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  hovertime = "1000";
-                  isContainer = "1";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  extent = "47 563";
+                  minExtent = "8 8";
+                  vertSizing = "height";
+                  profile = "GuiScrollProfile";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
 
                   new GuiTextListCtrl(ShapeEdThreadList) {
-                     fitParentWidth = "1";
                      clipColumnText = "1";
                      position = "1 1";
                      extent = "45 11";
-                     MinExtent = "8 11";
-                     HorizSizing = "right";
-                     VertSizing = "bottom";
-                     Profile = "ToolsGuiShapeEdTextListProfile";
-                     Visible = "1";
-                     tooltipprofile = "ToolsGuiToolTipProfile";
-                     hovertime = "1000";
-                     canSave = "1";
-                     canSaveDynamicFields = "0";
+                     minExtent = "8 11";
+                     profile = "GuiDefaultProfile";
+                     tooltipProfile = "ToolsGuiToolTipProfile";
                   };
                };
                new GuiTextCtrl() {
                   text = "Sequence";
                   position = "52 1";
                   extent = "53 16";
-                  minExtent = "8 2";
-                  horizSizing = "right";
-                  vertSizing = "bottom";
-                  Profile = "ToolsGuiTextProfile";
+                  profile = "ToolsGuiTextProfile";
+                  tooltipProfile = "GuiToolTipProfile";
                };
                new GuiScrollCtrl() {
-                  willFirstRespond = "1";
                   hScrollBar = "dynamic";
                   vScrollBar = "dynamic";
-                  lockHorizScroll = "true";
-                  lockVertScroll = "false";
-                  constantThumbHeight = "0";
-                  childMargin = "0 0";
-                  mouseWheelScrollSpeed = "-1";
-                  Margin = "0 0 0 0";
-                  Padding = "0 0 0 0";
-                  AnchorTop = "0";
-                  AnchorBottom = "0";
-                  AnchorLeft = "1";
-                  AnchorRight = "0";
+                  lockHorizScroll = "1";
+                  anchorTop = "0";
                   position = "46 17";
-                  extent = "202 124";
-                  MinExtent = "8 8";
-                  HorizSizing = "width";
-                  VertSizing = "height";
-                  Profile = "ToolsGuiShapeEdScrollProfile";
-                  Visible = "1";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  hovertime = "1000";
-                  isContainer = "1";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  extent = "1262 563";
+                  minExtent = "8 8";
+                  horizSizing = "width";
+                  vertSizing = "height";
+                  profile = "GuiScrollProfile";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
 
                   new GuiTextListCtrl() {
-                     fitParentWidth = "1";
                      clipColumnText = "1";
-                     Position = "1 1";
-                     extent = "202 11";
-                     MinExtent = "8 11";
-                     HorizSizing = "right";
-                     VertSizing = "bottom";
-                     Profile = "ToolsGuiShapeEdTextListProfile";
-                     Visible = "1";
-                     Command = "ShapeEdSequenceList.setSelectedById( $ThisControl.getSelectedId() );";
-                     tooltipprofile = "ToolsGuiToolTipProfile";
-                     hovertime = "1000";
+                     position = "1 1";
+                     extent = "1260 11";
+                     minExtent = "8 11";
+                     profile = "GuiDefaultProfile";
+                     command = "ShapeEdSequenceList.setSelectedById( $ThisControl.getSelectedId() );";
+                     tooltipProfile = "ToolsGuiToolTipProfile";
                      internalName = "seqList";
-                     canSave = "1";
-                     canSaveDynamicFields = "0";
                   };
                };
                new GuiBitmapButtonCtrl() {
-                  bitmapAsset = "ToolsModule:delete_n_image";
-                  groupNum = "-1";
-                  buttonType = "PushButton";
-                  useMouseEvents = "0";
-                  position = "184 1";
-                  Extent = "16 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "left";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiDefaultProfile";
-                  Visible = "1";
-                  Command = "ShapeEdThreadWindow.onRemoveThread();";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Delete the selected thread";
-                  isContainer = "0";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  BitmapAsset = "ToolsModule:delete_n_image";
+                  position = "1244 1";
+                  extent = "16 16";
+                  horizSizing = "left";
+                  profile = "ToolsGuiDefaultProfile";
+                  command = "ShapeEdThreadWindow.onRemoveThread();";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Delete the selected thread";
                };
                new GuiBitmapButtonCtrl() {
-                  bitmapAsset = "ToolsModule:new_n_image";
-                  groupNum = "-1";
-                  buttonType = "PushButton";
-                  useMouseEvents = "0";
-                  position = "171 1";
-                  Extent = "16 16";
-                  MinExtent = "8 2";
-                  HorizSizing = "left";
-                  VertSizing = "bottom";
-                  Profile = "ToolsGuiDefaultProfile";
-                  Visible = "1";
-                  Command = "ShapeEdThreadWindow.onAddThread();";
-                  tooltipprofile = "ToolsGuiToolTipProfile";
-                  ToolTip = "Add a new thread";
-                  isContainer = "0";
-                  canSave = "1";
-                  canSaveDynamicFields = "0";
+                  BitmapAsset = "ToolsModule:new_n_image";
+                  position = "1231 1";
+                  extent = "16 16";
+                  horizSizing = "left";
+                  profile = "ToolsGuiDefaultProfile";
+                  command = "ShapeEdThreadWindow.onAddThread();";
+                  tooltipProfile = "ToolsGuiToolTipProfile";
+                  tooltip = "Add a new thread";
                };
             };
             new GuiSliderCtrl(ShapeEdThreadSlider) {
                range = "0 0";
                ticks = "0";
-               snap = "0";
                value = "0";
-               position = "29 146";
-               extent = "133 14";
-               MinExtent = "8 2";
-               HorizSizing = "width";
-               VertSizing = "top";
-               Profile = "ToolsGuiSliderBoxProfile";
-               Visible = "1";
-               tooltipprofile = "ToolsGuiToolTipProfile";
-               ToolTip = "Drag the slider to scrub through the sequence keyframes";
-               hovertime = "1000";
-               isContainer = "0";
-               canSave = "1";
-               canSaveDynamicFields = "0";
+               position = "29 585";
+               extent = "1193 14";
+               horizSizing = "width";
+               vertSizing = "top";
+               profile = "ToolsGuiSliderBoxProfile";
+               tooltipProfile = "ToolsGuiToolTipProfile";
+               tooltip = "Drag the slider to scrub through the sequence keyframes";
             };
             new GuiBitmapButtonCtrl() {
-               bitmapAsset = "ToolsModule:playbkwd_btn_n_image";
+               BitmapAsset = "ToolsModule:playbkwd_btn_n_image";
                groupNum = "0";
                buttonType = "RadioButton";
-               useMouseEvents = "0";
-               position = "6 144";
+               position = "6 583";
                extent = "18 18";
-               MinExtent = "8 2";
-               HorizSizing = "right";
                vertSizing = "top";
-               Profile = "ToolsGuiButtonProfile";
-               Visible = "1";
-               Command = "ShapeEdAnimWindow-->playBkwdBtn.performClick();";
-               tooltipprofile = "ToolsGuiToolTipProfile";
-               ToolTip = "Play backwards";
-               hovertime = "1000";
-               isContainer = "0";
+               profile = "ToolsGuiButtonProfile";
+               command = "ShapeEdAnimWindow-->playBkwdBtn.performClick();";
+               tooltipProfile = "ToolsGuiToolTipProfile";
+               tooltip = "Play backwards";
                internalName = "playBkwdBtn";
-               canSave = "1";
-               canSaveDynamicFields = "0";
             };
             new GuiBitmapButtonCtrl() {
-               bitmapAsset = "ToolsModule:pause_btn_n_image";
+               BitmapAsset = "ToolsModule:pause_btn_n_image";
                groupNum = "0";
                buttonType = "RadioButton";
-               useMouseEvents = "0";
-               position = "166 144";
-               Extent = "18 18";
-               MinExtent = "8 2";
-               HorizSizing = "left";
+               position = "1226 583";
+               extent = "18 18";
+               horizSizing = "left";
                vertSizing = "top";
-               Profile = "ToolsGuiButtonProfile";
-               Visible = "1";
-               Command = "ShapeEdAnimWindow-->pauseBtn.performClick();";
-               tooltipprofile = "ToolsGuiToolTipProfile";
-               ToolTip = "Toggle Pause (SPACE)";
-               hovertime = "1000";
-               isContainer = "0";
+               profile = "ToolsGuiButtonProfile";
+               command = "ShapeEdAnimWindow-->pauseBtn.performClick();";
+               tooltipProfile = "ToolsGuiToolTipProfile";
+               tooltip = "Toggle Pause (SPACE)";
                internalName = "pauseBtn";
-               canSave = "1";
-               canSaveDynamicFields = "0";
             };
             new GuiBitmapButtonCtrl() {
-               bitmapAsset = "ToolsModule:playfwd_btn_n_image";
+               BitmapAsset = "ToolsModule:playfwd_btn_n_image";
                groupNum = "0";
                buttonType = "RadioButton";
-               useMouseEvents = "0";
-               position = "184 144";
-               Extent = "18 18";
-               MinExtent = "8 2";
-               HorizSizing = "left";
+               position = "1244 583";
+               extent = "18 18";
+               horizSizing = "left";
                vertSizing = "top";
-               Profile = "ToolsGuiButtonProfile";
-               Visible = "1";
-               Command = "ShapeEdAnimWindow-->playFwdBtn.performClick();";
-               tooltipprofile = "ToolsGuiToolTipProfile";
-               ToolTip = "Play forwards";
-               hovertime = "1000";
-               isContainer = "0";
+               profile = "ToolsGuiButtonProfile";
+               command = "ShapeEdAnimWindow-->playFwdBtn.performClick();";
+               tooltipProfile = "ToolsGuiToolTipProfile";
+               tooltip = "Play forwards";
                internalName = "playFwdBtn";
-               canSave = "1";
-               canSaveDynamicFields = "0";
             };
             new GuiCheckBoxCtrl() {
-               useInactiveState = "0";
                text = " Transition lasts";
-               groupNum = "-1";
-               buttonType = "ToggleButton";
-               useMouseEvents = "0";
-               position = "3 167";
+               position = "3 606";
                extent = "88 13";
-               MinExtent = "8 2";
-               HorizSizing = "right";
-               VertSizing = "top";
-               Profile = "ToolsGuiCheckBoxProfile";
-               Visible = "1";
-               tooltipprofile = "ToolsGuiToolTipProfile";
-               ToolTip = "Controls whether the thread will smoothly transition when a new sequence is selected";
-               hovertime = "1000";
-               isContainer = "0";
+               vertSizing = "top";
+               profile = "ToolsGuiCheckBoxProfile";
+               tooltipProfile = "ToolsGuiToolTipProfile";
+               tooltip = "Controls whether the thread will smoothly transition when a new sequence is selected";
                internalName = "useTransitions";
-               canSave = "1";
-               canSaveDynamicFields = "0";
             };
             new GuiTextEditCtrl() {
-               position = "98 164";
-               extent = "49 18";
-               MinExtent = "8 2";
-               HorizSizing = "width";
-               VertSizing = "top";
-               Profile = "ToolsGuiTextEditProfile";
-               Visible = "1";
-               tooltipprofile = "ToolsGuiToolTipProfile";
-               ToolTip = "Number of seconds over which to transition to the new sequence";
-               hovertime = "1000";
+               text = "0.5";
+               position = "98 603";
+               extent = "1109 20";
+               horizSizing = "width";
+               vertSizing = "top";
+               profile = "ToolsGuiTextEditProfile";
+               tooltipProfile = "ToolsGuiToolTipProfile";
+               tooltip = "Number of seconds over which to transition to the new sequence";
                internalName = "transitionTime";
-               canSave = "1";
-               canSaveDynamicFields = "0";
             };
             new GuiTextCtrl() {
                text = "seconds";
-               position = "153 165";
+               position = "1213 604";
                extent = "44 16";
-               minExtent = "8 2";
                horizSizing = "left";
                vertSizing = "top";
-               Profile = "ToolsGuiTextProfile";
+               profile = "ToolsGuiTextProfile";
+               tooltipProfile = "GuiToolTipProfile";
             };
             new GuiTextCtrl() {
                text = "Transition to";
-               position = "4 186";
+               position = "4 625";
                extent = "62 16";
-               minExtent = "8 2";
-               horizSizing = "right";
                vertSizing = "top";
-               Profile = "ToolsGuiTextProfile";
+               profile = "ToolsGuiTextProfile";
+               tooltipProfile = "GuiToolTipProfile";
             };
             new GuiPopUpMenuCtrl() {
-               position = "68 185";
-               extent = "133 18";
-               HorizSizing = "width";
+               text = "synched position";
+               position = "68 624";
+               extent = "1193 18";
+               horizSizing = "width";
                vertSizing = "top";
-               Profile = "ToolsGuiPopUpMenuProfile";
-               ToolTip = "Select the start position of the new sequence";
+               profile = "ToolsGuiPopUpMenuProfile";
+               tooltipProfile = "GuiToolTipProfile";
+               tooltip = "Select the start position of the new sequence";
                internalName = "transitionTo";
             };
             new GuiTextCtrl() {
                text = "Target anim";
-               position = "4 207";
+               position = "4 646";
                extent = "58 16";
-               minExtent = "8 2";
-               horizSizing = "right";
                vertSizing = "top";
-               Profile = "ToolsGuiTextProfile";
+               profile = "ToolsGuiTextProfile";
+               tooltipProfile = "GuiToolTipProfile";
             };
             new GuiPopUpMenuCtrl() {
-               position = "68 206";
-               extent = "133 18";
-               minExtent = "8 2";
+               text = "plays during transition";
+               position = "68 645";
+               extent = "1193 18";
                horizSizing = "width";
                vertSizing = "top";
-               Profile = "ToolsGuiPopUpMenuProfile";
-               ToolTip = "Select the initial play state of the new sequence";
+               profile = "ToolsGuiPopUpMenuProfile";
+               tooltipProfile = "GuiToolTipProfile";
+               tooltip = "Select the initial play state of the new sequence";
                internalName = "transitionTarget";
             };
          };
       };
       new GuiTabPageCtrl() {
          text = "Collision";
-         maxLength = "1024";
-         Margin = "0 0 0 0";
-         Padding = "0 0 0 0";
-         AnchorTop = "1";
-         AnchorBottom = "0";
-         AnchorLeft = "1";
-         AnchorRight = "0";
-         Position = "0 19";
-         extent = "220 224";
-         MinExtent = "0 -500";
-         HorizSizing = "width";
-         VertSizing = "height";
-         Profile = "ToolsGuiTabPageProfile";
-         Visible = "0";
-         tooltipprofile = "ToolsGuiToolTipProfile";
-         hovertime = "1000";
-         isContainer = "1";
-         canSave = "1";
-         canSaveDynamicFields = "0";
-         
+         position = "0 19";
+         extent = "1262 663";
+         minExtent = "0 -500";
+         horizSizing = "width";
+         vertSizing = "height";
+         profile = "ToolsGuiTabPageProfile";
+         tooltipProfile = "ToolsGuiToolTipProfile";
+
          new GuiContainer(ShapeEdColWindow) {
-            docking = "client";
-            Margin = "0 0 0 0";
-            Padding = "0 0 0 0";
-            AnchorTop = "1";
-            AnchorBottom = "0";
-            AnchorLeft = "1";
-            AnchorRight = "0";
-            position = "0 0";
-            extent = "202 225";
-            MinExtent = "8 8";
-            HorizSizing = "width";
-            VertSizing = "bottom";
-            Profile = "ToolsGuiDefaultProfile";
-            Visible = "1";
-            tooltipprofile = "ToolsGuiToolTipProfile";
-            hovertime = "1000";
-            isContainer = "1";
-            canSave = "1";
-            canSaveDynamicFields = "0";
-            
+            docking = "Client";
+            extent = "1262 663";
+            minExtent = "8 8";
+            horizSizing = "width";
+            profile = "ToolsGuiDefaultProfile";
+            tooltipProfile = "ToolsGuiToolTipProfile";
+
             new GuiTextCtrl() {
                text = "Fit Type";
                position = "5 5";
                extent = "70 16";
-               horizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiTextRightProfile";
+               profile = "ToolsGuiTextRightProfile";
+               tooltipProfile = "GuiToolTipProfile";
             };
             new GuiPopUpMenuCtrl() {
                position = "85 4";
                extent = "170 18";
-               horizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiPopUpMenuProfile";
-               Command = "ShapeEdColWindow.editCollision();";
-               ToolTip = "Select the method used to auto-generate the collision geometry";
+               profile = "ToolsGuiPopUpMenuProfile";
+               command = "ShapeEdColWindow.editCollision();";
+               tooltipProfile = "GuiToolTipProfile";
+               tooltip = "Select the method used to auto-generate the collision geometry";
                internalName = "colType";
             };
             new GuiTextCtrl() {
                text = "Fit Target";
                position = "5 25";
                extent = "70 16";
-               horizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiTextRightProfile";
+               profile = "ToolsGuiTextRightProfile";
+               tooltipProfile = "GuiToolTipProfile";
             };
             new GuiPopUpMenuCtrl() {
                position = "85 24";
                extent = "170 18";
-               horizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiPopUpMenuProfile";
-               Command = "ShapeEdColWindow.editCollision();";
-               ToolTip = "Select the object to fit collision geometry to";
+               profile = "ToolsGuiPopUpMenuProfile";
+               command = "ShapeEdColWindow.editCollision();";
+               tooltipProfile = "GuiToolTipProfile";
+               tooltip = "Select the object to fit collision geometry to";
                internalName = "colTarget";
             };
+            new GuiTextCtrl() {
+               text = "Fill Mode";
+               position = "5 44";
+               extent = "70 16";
+               profile = "ToolsGuiTextRightProfile";
+               tooltipProfile = "GuiToolTipProfile";
+            };
+            new GuiPopUpMenuCtrl() {
+               position = "85 43";
+               extent = "170 18";
+               profile = "ToolsGuiPopUpMenuProfile";
+               command = "ShapeEdColWindow.editCollision();";
+               tooltipProfile = "GuiToolTipProfile";
+               tooltip = "Select the object to fit collision geometry to";
+               internalName = "fillMode";
+            };
             new GuiTextCtrl() {
                text = "Max Depth";
-               position = "5 47";
+               position = "5 71";
                extent = "70 16";
-               horizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiTextRightProfile";
+               profile = "ToolsGuiTextRightProfile";
+               tooltipProfile = "GuiToolTipProfile";
             };
             new GuiSliderCtrl() {
-               range = "0 8";
+               range = "2 64";
                ticks = "4";
-               snap = "0";
                value = "4";
-               position = "80 48";
-               extent = "90 14";
-               MinExtent = "8 2";
-               HorizSizing = "width";
-               VertSizing = "bottom";
-               Profile = "ToolsGuiSliderBoxProfile";
-               Visible = "1";
-               AltCommand = "ShapeEdColWindow-->hullDepthText.setText( mFloor($ThisControl.getValue()) );";
-               tooltipprofile = "ToolsGuiToolTipProfile";
-               ToolTip = "Maximum hull split depth";
-               hovertime = "1000";
-               isContainer = "0";
+               position = "80 72";
+               extent = "1150 14";
+               horizSizing = "width";
+               profile = "ToolsGuiSliderBoxProfile";
+               altCommand = "ShapeEdColWindow-->hullDepthText.setText( mFloor($ThisControl.getValue()) );";
+               tooltipProfile = "ToolsGuiToolTipProfile";
+               tooltip = "Maximum hull split depth";
                internalName = "hullDepth";
             };
             new GuiTextCtrl() {
                text = "4";
-               position = "320 47";
+               position = "320 71";
                extent = "25 16";
-               horizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiTextRightProfile";
+               profile = "ToolsGuiTextRightProfile";
+               tooltipProfile = "GuiToolTipProfile";
                internalName = "hullDepthText";
             };
             new GuiTextCtrl() {
-               text = "Merge %";
-               position = "5 68";
+               text = "Error %";
+               position = "5 92";
                extent = "70 16";
-               horizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiTextRightProfile";
+               profile = "ToolsGuiTextRightProfile";
+               tooltipProfile = "GuiToolTipProfile";
             };
             new GuiSliderCtrl() {
-               range = "0 60";
+               range = "0.001 10";
                ticks = "4";
-               snap = "0";
-               value = "30";
-               position = "80 69";
-               extent = "90 14";
-               MinExtent = "8 2";
-               HorizSizing = "width";
-               VertSizing = "bottom";
-               Profile = "ToolsGuiSliderBoxProfile";
-               Visible = "1";
-               AltCommand = "ShapeEdColWindow-->hullMergeText.setText( mFloor($ThisControl.getValue()) );";
-               tooltipprofile = "ToolsGuiToolTipProfile";
-               ToolTip = "Hull volume merge threshold";
-               hovertime = "1000";
-               isContainer = "0";
+               value = "10";
+               position = "80 93";
+               extent = "1150 14";
+               horizSizing = "width";
+               profile = "ToolsGuiSliderBoxProfile";
+               altCommand = "ShapeEdColWindow-->hullMergeText.setText( mFloor($ThisControl.getValue()) );";
+               tooltipProfile = "ToolsGuiToolTipProfile";
+               tooltip = "Hull volume merge threshold";
                internalName = "hullMergeThreshold";
             };
             new GuiTextCtrl() {
-               text = "30";
-               position = "320 68";
+               text = "10";
+               position = "320 92";
                extent = "25 16";
-               horizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiTextRightProfile";
+               profile = "ToolsGuiTextRightProfile";
+               tooltipProfile = "GuiToolTipProfile";
                internalName = "hullMergeText";
             };
             new GuiTextCtrl() {
-               text = "Concavity %";
-               position = "5 89";
+               text = "Max Hulls";
+               position = "5 113";
                extent = "70 16";
-               horizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiTextRightProfile";
+               profile = "ToolsGuiTextRightProfile";
+               tooltipProfile = "GuiToolTipProfile";
             };
             new GuiSliderCtrl() {
-               range = "0 60";
+               range = "1 100";
                ticks = "4";
-               snap = "0";
                value = "30";
-               position = "80 90";
-               extent = "90 14";
-               MinExtent = "8 2";
-               HorizSizing = "width";
-               VertSizing = "bottom";
-               Profile = "ToolsGuiSliderBoxProfile";
-               Visible = "1";
-               AltCommand = "ShapeEdColWindow-->hullConcaveText.setText( mFloor($ThisControl.getValue()) );";
-               tooltipprofile = "ToolsGuiToolTipProfile";
-               ToolTip = "Hull concavity threshold";
-               hovertime = "1000";
-               isContainer = "0";
+               position = "80 114";
+               extent = "1150 14";
+               horizSizing = "width";
+               profile = "ToolsGuiSliderBoxProfile";
+               altCommand = "ShapeEdColWindow-->hullConcaveText.setText( mFloor($ThisControl.getValue()) );";
+               tooltipProfile = "ToolsGuiToolTipProfile";
+               tooltip = "Hull concavity threshold";
                internalName = "hullConcaveThreshold";
             };
             new GuiTextCtrl() {
                text = "30";
-               position = "320 89";
+               position = "320 113";
                extent = "25 16";
-               horizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiTextRightProfile";
+               profile = "ToolsGuiTextRightProfile";
+               tooltipProfile = "GuiToolTipProfile";
                internalName = "hullConcaveText";
             };
             new GuiTextCtrl() {
                text = "Max Verts";
-               position = "5 110";
+               position = "5 134";
                extent = "70 16";
-               horizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiTextRightProfile";
+               profile = "ToolsGuiTextRightProfile";
+               tooltipProfile = "GuiToolTipProfile";
             };
             new GuiSliderCtrl() {
                range = "8 64";
                ticks = "4";
-               snap = "0";
                value = "32";
-               position = "80 111";
-               extent = "90 14";
-               MinExtent = "8 2";
-               HorizSizing = "width";
-               VertSizing = "bottom";
-               Profile = "ToolsGuiSliderBoxProfile";
-               Visible = "1";
-               AltCommand = "ShapeEdColWindow-->hullMaxVertsText.setText( mFloor($ThisControl.getValue()) );";
-               tooltipprofile = "ToolsGuiToolTipProfile";
-               ToolTip = "Maximum number of verts in a convex hull";
-               hovertime = "1000";
-               isContainer = "0";
+               position = "80 135";
+               extent = "1150 14";
+               horizSizing = "width";
+               profile = "ToolsGuiSliderBoxProfile";
+               altCommand = "ShapeEdColWindow-->hullMaxVertsText.setText( mFloor($ThisControl.getValue()) );";
+               tooltipProfile = "ToolsGuiToolTipProfile";
+               tooltip = "Maximum number of verts in a convex hull";
                internalName = "hullMaxVerts";
             };
             new GuiTextCtrl() {
                text = "32";
-               position = "320 110";
+               position = "320 134";
                extent = "25 16";
-               horizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiTextRightProfile";
+               profile = "ToolsGuiTextRightProfile";
+               tooltipProfile = "GuiToolTipProfile";
                internalName = "hullMaxVertsText";
             };
             new GuiTextCtrl() {
                text = "Box %";
-               position = "5 131";
+               position = "5 155";
                extent = "70 16";
-               horizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiTextRightProfile";
+               profile = "ToolsGuiTextRightProfile";
+               tooltipProfile = "GuiToolTipProfile";
             };
             new GuiSliderCtrl() {
                range = "0 100";
                ticks = "4";
-               snap = "0";
                value = "30";
-               position = "80 132";
-               extent = "90 14";
-               MinExtent = "8 2";
-               HorizSizing = "width";
-               VertSizing = "bottom";
-               Profile = "ToolsGuiSliderBoxProfile";
-               Visible = "1";
-               AltCommand = "ShapeEdColWindow-->hullMaxBoxErrorText.setText( mFloor($ThisControl.getValue()) );";
-               tooltipprofile = "ToolsGuiToolTipProfile";
-               ToolTip = "Maximum box volume error %";
-               hovertime = "1000";
-               isContainer = "0";
+               position = "80 156";
+               extent = "1150 14";
+               horizSizing = "width";
+               profile = "ToolsGuiSliderBoxProfile";
+               altCommand = "ShapeEdColWindow-->hullMaxBoxErrorText.setText( mFloor($ThisControl.getValue()) );";
+               tooltipProfile = "ToolsGuiToolTipProfile";
+               tooltip = "Maximum box volume error %";
                internalName = "hullMaxBoxError";
             };
             new GuiTextCtrl() {
                text = "30";
-               position = "320 131";
+               position = "320 155";
                extent = "25 16";
-               horizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiTextRightProfile";
+               profile = "ToolsGuiTextRightProfile";
+               tooltipProfile = "GuiToolTipProfile";
                internalName = "hullMaxBoxErrorText";
             };
             new GuiTextCtrl() {
                text = "Sphere %";
-               position = "5 152";
+               position = "5 176";
                extent = "70 16";
-               horizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiTextRightProfile";
+               profile = "ToolsGuiTextRightProfile";
+               tooltipProfile = "GuiToolTipProfile";
             };
             new GuiSliderCtrl() {
                range = "0 100";
                ticks = "4";
-               snap = "0";
                value = "30";
-               position = "80 153";
-               extent = "90 14";
-               MinExtent = "8 2";
-               HorizSizing = "width";
-               VertSizing = "bottom";
-               Profile = "ToolsGuiSliderBoxProfile";
-               Visible = "1";
-               AltCommand = "ShapeEdColWindow-->hullMaxSphereErrorText.setText( mFloor($ThisControl.getValue()) );";
-               tooltipprofile = "ToolsGuiToolTipProfile";
-               ToolTip = "Maximum sphere volume error %";
-               hovertime = "1000";
-               isContainer = "0";
+               position = "80 177";
+               extent = "1150 14";
+               horizSizing = "width";
+               profile = "ToolsGuiSliderBoxProfile";
+               altCommand = "ShapeEdColWindow-->hullMaxSphereErrorText.setText( mFloor($ThisControl.getValue()) );";
+               tooltipProfile = "ToolsGuiToolTipProfile";
+               tooltip = "Maximum sphere volume error %";
                internalName = "hullMaxSphereError";
             };
             new GuiTextCtrl() {
                text = "30";
-               position = "320 152";
+               position = "320 176";
                extent = "25 16";
-               horizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiTextRightProfile";
+               profile = "ToolsGuiTextRightProfile";
+               tooltipProfile = "GuiToolTipProfile";
                internalName = "hullMaxSphereErrorText";
             };
             new GuiTextCtrl() {
                text = "Capsule %";
-               position = "5 173";
+               position = "5 197";
                extent = "70 16";
-               horizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiTextRightProfile";
+               profile = "ToolsGuiTextRightProfile";
+               tooltipProfile = "GuiToolTipProfile";
             };
             new GuiSliderCtrl() {
                range = "0 100";
                ticks = "4";
-               snap = "0";
                value = "30";
-               position = "80 174";
-               extent = "90 14";
-               MinExtent = "8 2";
-               HorizSizing = "width";
-               VertSizing = "bottom";
-               Profile = "ToolsGuiSliderBoxProfile";
-               Visible = "1";
-               AltCommand = "ShapeEdColWindow-->hullMaxCapsuleErrorText.setText( mFloor($ThisControl.getValue()) );";
-               tooltipprofile = "ToolsGuiToolTipProfile";
-               ToolTip = "Maximum capsule volume error %";
-               hovertime = "1000";
-               isContainer = "0";
+               position = "80 198";
+               extent = "1150 14";
+               horizSizing = "width";
+               profile = "ToolsGuiSliderBoxProfile";
+               altCommand = "ShapeEdColWindow-->hullMaxCapsuleErrorText.setText( mFloor($ThisControl.getValue()) );";
+               tooltipProfile = "ToolsGuiToolTipProfile";
+               tooltip = "Maximum capsule volume error %";
                internalName = "hullMaxCapsuleError";
             };
             new GuiTextCtrl() {
                text = "30";
-               position = "320 173";
+               position = "320 197";
                extent = "25 16";
-               horizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiTextRightProfile";
+               profile = "ToolsGuiTextRightProfile";
+               tooltipProfile = "GuiToolTipProfile";
                internalName = "hullMaxCapsuleErrorText";
             };
             new GuiButtonCtrl() {
                text = "Update Hulls";
-               groupNum = "-1";
-               buttonType = "PushButton";
-               useMouseEvents = "0";
-               position = "7 200";
+               position = "7 224";
                extent = "100 20";
-               MinExtent = "8 2";
-               HorizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiButtonProfile";
-               Visible = "1";
-               Command = "ShapeEdColWindow.editCollision();";
-               tooltipprofile = "ToolsGuiToolTipProfile";
-               ToolTip = "Update the convex hull(s)";
-               hovertime = "1000";
-               isContainer = "0";
-               canSave = "1";
-               canSaveDynamicFields = "0";
+               profile = "ToolsGuiButtonProfile";
+               command = "ShapeEdColWindow.editCollision();";
+               tooltipProfile = "ToolsGuiToolTipProfile";
+               tooltip = "Update the convex hull(s)";
             };
             new GuiButtonCtrl() {
                text = "Revert Changes";
-               groupNum = "-1";
-               buttonType = "PushButton";
-               useMouseEvents = "0";
-               position = "115 200";
+               position = "115 224";
                extent = "100 20";
-               MinExtent = "8 2";
-               HorizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiButtonProfile";
-               Visible = "1";
-               Command = "ShapeEdColWindow.update_onCollisionChanged();";
-               tooltipprofile = "ToolsGuiToolTipProfile";
-               ToolTip = "Revert changes to settings";
-               hovertime = "1000";
-               isContainer = "0";
-               canSave = "1";
-               canSaveDynamicFields = "0";
+               profile = "ToolsGuiButtonProfile";
+               command = "ShapeEdColWindow.update_onCollisionChanged();";
+               tooltipProfile = "ToolsGuiToolTipProfile";
+               tooltip = "Revert changes to settings";
             };
             new GuiBitmapCtrl() {
-               bitmapAsset = "ToolsModule:inactive_overlay_image";
+               BitmapAsset = "ToolsModule:inactive_overlay_image";
                position = "0 47";
                extent = "199 178";
-               horizSizing = "right";
-               vertSizing = "bottom";
-               Profile = "ToolsGuiDefaultProfile";
+               profile = "ToolsGuiDefaultProfile";
                visible = "0";
-               canSave = "1";
-               canSaveDynamicFields = "0";
+               tooltipProfile = "GuiToolTipProfile";
                internalName = "hullInactive";
+               hidden = "1";
             };
          };
       };

+ 6 - 0
Templates/BaseGame/game/tools/shapeEditor/scripts/shapeEditor.ed.tscript

@@ -2935,6 +2935,10 @@ function ShapeEdColWindow::onWake( %this )
    %this-->colType.add( "18-DOP" );
    %this-->colType.add( "26-DOP" );
    %this-->colType.add( "Convex Hulls" );
+
+   %this-->fillMode.add("Flood fill");
+   %this-->fillMode.add("Surface only");
+   %this-->fillMode.add("Raycast Fill");
 }
 
 function ShapeEdColWindow::update_onShapeSelectionChanged( %this )
@@ -2949,6 +2953,8 @@ function ShapeEdColWindow::update_onShapeSelectionChanged( %this )
       %this-->colTarget.add( ShapeEditor.shape.getObjectName( %i ) );
 
    %this-->colTarget.setSelected( %this-->colTarget.findText( "Bounds" ), false );
+
+   %this-->fillMode.setSelected( %this-->fillMode.findText( "Flood fill" ), false );
 }
 
 function ShapeEdColWindow::update_onCollisionChanged( %this )