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
Fix of the problem of cashing on open document with sketch with multi-rotation
[modules/shaper.git]
/
src
/
Model
/
Model_AttributeRefList.cpp
diff --git
a/src/Model/Model_AttributeRefList.cpp
b/src/Model/Model_AttributeRefList.cpp
index e8a17a7345136faa0155c99cc11cb823ef8efee1..e6564b60a7a2d12dc5ef11e4781758e4bbc30aa7 100644
(file)
--- a/
src/Model/Model_AttributeRefList.cpp
+++ b/
src/Model/Model_AttributeRefList.cpp
@@
-361,7
+361,8
@@
void Model_AttributeRefList::createHash()
myHashObjects.insert(anObj);
}
}
- myHashUsed = true;
+ if (!myHashObjects.empty()) // on open document with multi-rotation referenced have no results
+ myHashUsed = true;
}
}