Salome HOME
Fix of crash in issue #416
[modules/shaper.git] / src / ConstructionPlugin / axis_widget.xml
index 8d4a40a8d80fe87682a8b21f7ef57b9cd9d7ed04..a3424e3f1b1d5acb8a0b43f68b91684142b7da1d 100644 (file)
@@ -1,18 +1,19 @@
 <!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
 
 <source>
-  <shape_selector id="firstPoint" 
-    label="First point" 
-    icon=":icons/point.png" 
+  <shape_selector id="firstPoint"
+    label="First point"
+    icon=":icons/point.png"
     tooltip="Select a first point"
-    shape_types="vertex"
-       use_subshapes="true"
-  />
+    shape_types="vertex">
+    <selection_filter id="NoConstructionSubShapesFilter"/>
+  </shape_selector>
   <shape_selector id="secondPoint"
     label="Second point"
     icon=":icons/point.png"
     tooltip="Select a second point"
-    shape_types="vertex"
-       use_subshapes="true">
+    shape_types="vertex">
+    <selection_filter id="NoConstructionSubShapesFilter"/>
+    <validator id="PartSet_DifferentShapes"/>
   </shape_selector>
 </source>