Salome HOME
Fix of the problem of cashing on open document with sketch with multi-rotation
[modules/shaper.git] / 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;
   }
 }