]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Forbid selection of construction elements as start-end values in Placement, since...
authormpv <mpv@opencascade.com>
Tue, 20 Dec 2016 12:55:38 +0000 (15:55 +0300)
committermpv <mpv@opencascade.com>
Tue, 20 Dec 2016 12:55:38 +0000 (15:55 +0300)
src/FeaturesPlugin/placement_widget.xml

index 0c8aad22d62acf06bc42dff12a099807f23ccd0c..a4755d990adc85dc6b982e2947501cddabdd4976 100644 (file)
     <validator id="FeaturesPlugin_ValidatorTransform"/>
   </multi_selector>
   <shape_selector id="placement_start_shape"
-    label="Select an object" 
+    label="Select an object"
     icon="icons/Features/placement_from.png"
     tooltip="Select a start face, edge or vertex"
-    shape_types="face edge vertex"
-  />
+    shape_types="face edge vertex">
+    <validator id="GeomValidators_BodyShapes"/>
+  </shape_selector>
   <shape_selector id="placement_end_shape"
-    label="Select an object" 
+    label="Select an object"
     icon="icons/Features/placement_to.png"
     tooltip="Select an end face, edge or vertex"
     shape_types="face edge vertex">
     <validator id="PartSet_DifferentObjects"/>
+    <validator id="GeomValidators_BodyShapes"/>
   </shape_selector>
   <boolvalue id="placement_reverse_direction"
     label="Reverse"