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 data located on the same level for features and results
[modules/shaper.git]
/
src
/
Model
/
Model_AttributeReference.cpp
diff --git
a/src/Model/Model_AttributeReference.cpp
b/src/Model/Model_AttributeReference.cpp
index 9cfd4a91c3ef72ee3df11bdd76f6deadcb5e650f..a5540e7415845b1791a2860e8b40cfe6a8d30527 100644
(file)
--- a/
src/Model/Model_AttributeReference.cpp
+++ b/
src/Model/Model_AttributeReference.cpp
@@
-18,7
+18,7
@@
void Model_AttributeReference::setValue(ObjectPtr theObject)
if (myRef.IsNull()) {
boost::shared_ptr<Model_Data> aMyData =
boost::dynamic_pointer_cast<Model_Data>(owner()->data());
if (myRef.IsNull()) {
boost::shared_ptr<Model_Data> aMyData =
boost::dynamic_pointer_cast<Model_Data>(owner()->data());
- myRef = TDF_Reference::Set(aMyData->label(), aData->label());
+ myRef = TDF_Reference::Set(aMyData->label(), aData->label()
.Father()
);
} else {
myRef->Set(aData->label());
}
} else {
myRef->Set(aData->label());
}