]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for back references not updated on abort of operation (sketch line abort)
authormpv <mpv@opencascade.com>
Thu, 2 Apr 2015 16:17:15 +0000 (19:17 +0300)
committermpv <mpv@opencascade.com>
Thu, 2 Apr 2015 16:17:15 +0000 (19:17 +0300)
src/Model/Model_Document.cpp

index 754138db905803368bf2264f8e24df9db7b330dc..d88015148a1b96f8a2cda6490f8e5ec74b13b7cf 100644 (file)
@@ -403,8 +403,8 @@ void Model_Document::abortOperation()
       myDoc->Undo();
     myDoc->ClearRedos();
   }
-  // references were not changed since transaction start
-  synchronizeFeatures(true, false, isRoot());
+  // references may be changed because they are set in attributes on the fly
+  synchronizeFeatures(true, true, isRoot());
   // abort for all subs
   const std::set<std::string> aSubs = subDocuments(true);
   std::set<std::string>::iterator aSubIter = aSubs.begin();