From: mpv Date: Mon, 10 Dec 2018 07:04:06 +0000 (+0300) Subject: Fix of the problem of cashing on open document with sketch with multi-rotation X-Git-Tag: End2018~94 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=534a8f58528d12e1348b5223ac53a703a944aecf;p=modules%2Fshaper.git Fix of the problem of cashing on open document with sketch with multi-rotation --- diff --git a/src/Model/Model_AttributeRefList.cpp b/src/Model/Model_AttributeRefList.cpp index e8a17a734..e6564b60a 100644 --- 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; } }