]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2315: Remove sub-shapes default mode
authordbv <dbv@opencascade.com>
Tue, 28 Nov 2017 08:37:58 +0000 (11:37 +0300)
committerdbv <dbv@opencascade.com>
Tue, 28 Nov 2017 08:37:58 +0000 (11:37 +0300)
Now remove sub-shapes mode is default mode.

src/FeaturesPlugin/remove_subshapes_widget.xml

index 4169fa587ad7fc95e5c59724cd6bac705804be16..92cb0aab07e22f78261d5b8a9d6da33ec3ca9a2a 100644 (file)
@@ -30,17 +30,6 @@ email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com
     <validator id="GeomValidators_BodyShapes" parameters="toplevel"/>
   </shape_selector>
   <toolbox id="creation_method">
-    <box id="by_keep_subshapes"
-     title="By keeping sub-shapes"
-     icon="icons/Features/keep_subshapes_32x32.png">
-      <multi_selector id="subshapes_to_keep"
-                label="Sub-Shapes to keep:"
-                tooltip="Select shapes to keep."
-                type_choice="vertices edges wires faces shells solids compsolids compounds"
-                clear_in_neutral_point="false">
-        <validator id="FeaturesPlugin_ValidatorRemoveSubShapesSelection"/>
-      </multi_selector>
-    </box>
     <box id="by_remove_subshapes"
      title="By removing sub-shapes"
      icon="icons/Features/remove_subshapes_32x32.png">
@@ -52,6 +41,17 @@ email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com
         <validator id="FeaturesPlugin_ValidatorRemoveSubShapesSelection"/>
       </multi_selector>
     </box>
+    <box id="by_keep_subshapes"
+     title="By keeping sub-shapes"
+     icon="icons/Features/keep_subshapes_32x32.png">
+      <multi_selector id="subshapes_to_keep"
+                label="Sub-Shapes to keep:"
+                tooltip="Select shapes to keep."
+                type_choice="vertices edges wires faces shells solids compsolids compounds"
+                clear_in_neutral_point="false">
+        <validator id="FeaturesPlugin_ValidatorRemoveSubShapesSelection"/>
+      </multi_selector>
+    </box>
   </toolbox>
   <validator id="FeaturesPlugin_ValidatorRemoveSubShapesResult"/>
 </source>