]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix of the problem of cashing on open document with sketch with multi-rotation
authormpv <mpv@opencascade.com>
Mon, 10 Dec 2018 07:04:06 +0000 (10:04 +0300)
committermpv <mpv@opencascade.com>
Mon, 10 Dec 2018 07:04:06 +0000 (10:04 +0300)
src/Model/Model_AttributeRefList.cpp

index e8a17a7345136faa0155c99cc11cb823ef8efee1..e6564b60a7a2d12dc5ef11e4781758e4bbc30aa7 100644 (file)
@@ -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;
   }
 }