Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7180ff8
)
Fix for issue #712
author
mpv
<mpv@opencascade.com>
Thu, 2 Jul 2015 09:05:28 +0000
(12:05 +0300)
committer
mpv
<mpv@opencascade.com>
Thu, 2 Jul 2015 09:05:28 +0000
(12:05 +0300)
src/Model/Model_AttributeRefList.cpp
patch
|
blob
|
history
diff --git
a/src/Model/Model_AttributeRefList.cpp
b/src/Model/Model_AttributeRefList.cpp
index d8b6fc005b78c003477ec1c846ca3592513034b1..534e52750464d88efa114ff213565bbf4e05e4f7 100644
(file)
--- a/
src/Model/Model_AttributeRefList.cpp
+++ b/
src/Model/Model_AttributeRefList.cpp
@@
-95,7
+95,7
@@
bool Model_AttributeRefList::isInList(const ObjectPtr& theObj)
owner()->document());
if (aDoc) {
std::shared_ptr<Model_Data> aData = std::dynamic_pointer_cast<Model_Data>(theObj->data());
- if (aData.get()) {
+ if (aData.get()
&& aData->isValid()
) {
TDF_Label anObjLab = aData->label().Father();
const TDF_LabelList& aList = myRef->List();
for (TDF_ListIteratorOfLabelList aLIter(aList); aLIter.More(); aLIter.Next()) {