From: mpv Date: Thu, 2 Apr 2015 16:17:15 +0000 (+0300) Subject: Fix for back references not updated on abort of operation (sketch line abort) X-Git-Tag: V_1.1.0~57^2~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=12c819388aec9f235066d59a1a1da7a373563e27;p=modules%2Fshaper.git Fix for back references not updated on abort of operation (sketch line abort) --- diff --git a/src/Model/Model_Document.cpp b/src/Model/Model_Document.cpp index 754138db9..d88015148 100644 --- a/src/Model/Model_Document.cpp +++ b/src/Model/Model_Document.cpp @@ -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 aSubs = subDocuments(true); std::set::iterator aSubIter = aSubs.begin();