From 534a8f58528d12e1348b5223ac53a703a944aecf Mon Sep 17 00:00:00 2001 From: mpv Date: Mon, 10 Dec 2018 10:04:06 +0300 Subject: [PATCH] Fix of the problem of cashing on open document with sketch with multi-rotation --- src/Model/Model_AttributeRefList.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } } -- 2.39.2