From: mpv Date: Thu, 24 Dec 2015 11:57:10 +0000 (+0300) Subject: Fixed the issue with "modification of data outside of transaction" when sketch is... X-Git-Tag: V_2.1.0~69 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=77cddfa8fed05fdba1ac4785fb2238ff247d6f33;p=modules%2Fshaper.git 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) --- 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)