From 12c819388aec9f235066d59a1a1da7a373563e27 Mon Sep 17 00:00:00 2001 From: mpv Date: Thu, 2 Apr 2015 19:17:15 +0300 Subject: [PATCH] Fix for back references not updated on abort of operation (sketch line abort) --- src/Model/Model_Document.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.2