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:
fec2fc9
)
Fix of the problem of cashing on open document with sketch with multi-rotation
author
mpv
<mpv@opencascade.com>
Mon, 10 Dec 2018 07:04:06 +0000
(10:04 +0300)
committer
mpv
<mpv@opencascade.com>
Mon, 10 Dec 2018 07:04:06 +0000
(10:04 +0300)
src/Model/Model_AttributeRefList.cpp
patch
|
blob
|
history
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;
}
}