Salome HOME
Make RefAttr able point to attribute or to feature
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Constraint.cpp
index 6269e321360a820bbc535036a8db942b849a8dc0..e6c9d09fda26d39ef06abb2c1a1d0db7fb03565c 100644 (file)
@@ -28,8 +28,8 @@ void SketchPlugin_Constraint::addConstrainedObject(
 {
   if (!data()->attribute(theAttrID).get())
     data()->addAttribute(theAttrID, theReference->type());
-  boost::dynamic_pointer_cast<ModelAPI_AttributeRefAttr>(
-    data()->attribute(theAttrID))->setValue(theReference->value());
+  //boost::dynamic_pointer_cast<ModelAPI_AttributeRefAttr>(
+  //  data()->attribute(theAttrID))->setValue(theReference->value());
 }
 
 void SketchPlugin_Constraint::getSketchParameters(