Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make RefAttr able point to attribute or to feature
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_Constraint.cpp
diff --git
a/src/SketchPlugin/SketchPlugin_Constraint.cpp
b/src/SketchPlugin/SketchPlugin_Constraint.cpp
index 6269e321360a820bbc535036a8db942b849a8dc0..e6c9d09fda26d39ef06abb2c1a1d0db7fb03565c 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_Constraint.cpp
+++ b/
src/SketchPlugin/SketchPlugin_Constraint.cpp
@@
-28,8
+28,8
@@
void SketchPlugin_Constraint::addConstrainedObject(
{
if (!data()->attribute(theAttrID).get())
data()->addAttribute(theAttrID, theReference->type());
{
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(
}
void SketchPlugin_Constraint::getSketchParameters(