]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Auxiliary state for Intersection point
authornds <nds@opencascade.com>
Mon, 29 Feb 2016 12:54:55 +0000 (15:54 +0300)
committernds <nds@opencascade.com>
Mon, 29 Feb 2016 12:54:55 +0000 (15:54 +0300)
src/SketchPlugin/SketchPlugin_IntersectionPoint.cpp
src/SketchPlugin/plugin-Sketch.xml

index 3643b3ca73c4c79b6b75bef0ea868c8436a1d799..3f7c94a89c027f7612cbc34d6210d4a55f25a09c 100644 (file)
@@ -22,7 +22,6 @@ SketchPlugin_IntersectionPoint::SketchPlugin_IntersectionPoint()
 void SketchPlugin_IntersectionPoint::initDerivedClassAttributes()
 {
   data()->addAttribute(EXTERNAL_LINE_ID(), ModelAPI_AttributeSelection::typeId());
-  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), AUXILIARY_ID());
 
   SketchPlugin_Point::initDerivedClassAttributes();
 }
index 15abcf3363825b5c250e288e02509dcf10eb070f..ae3ad77c28627e80434032a169227b3d99705154 100644 (file)
@@ -40,6 +40,7 @@
           <validator id="GeomValidators_ShapeType" parameters="line"/>
           <validator id="SketchPlugin_IntersectionValidator"/>
         </sketch_shape_selector>
+        <boolvalue id="Auxiliary" label="Auxiliary" default="false" tooltip="Construction element" obligatory="0"/>
       </feature>
       
       <!-- SketchLine -->