From 77cddfa8fed05fdba1ac4785fb2238ff247d6f33 Mon Sep 17 00:00:00 2001 From: mpv Date: Thu, 24 Dec 2015 14:57:10 +0300 Subject: [PATCH] Fixed the issue with "modification of data outside of transaction" when sketch is created on one of the sub-solid of compsolid and operation in sketch is aborted (found by nds) --- src/Model/Model_ResultCompSolid.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Model/Model_ResultCompSolid.cpp b/src/Model/Model_ResultCompSolid.cpp index 902290298..e66ba2d30 100755 --- a/src/Model/Model_ResultCompSolid.cpp +++ b/src/Model/Model_ResultCompSolid.cpp @@ -151,8 +151,10 @@ void Model_ResultCompSolid::setIsConcealed(const bool theValue) } } ModelAPI_ResultCompSolid::setIsConcealed(theValue); + // to set correct myLastConcealed + isConcealed(); } - myLastConcealed = theValue; + //myLastConcealed = theValue; } void Model_ResultCompSolid::updateSubs(const std::shared_ptr& theThisShape) -- 2.39.2