From: mpv Date: Mon, 4 Feb 2019 14:07:01 +0000 (+0300) Subject: Optimization for the naming structure loading in the issue 2636 model X-Git-Tag: HighLevelObjectsHierarchy~13^2~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=94375acf871d247620ab10c33f9b289229082760;p=modules%2Fshaper.git Optimization for the naming structure loading in the issue 2636 model --- diff --git a/src/Model/Model_ResultBody.cpp b/src/Model/Model_ResultBody.cpp index 3ba643118..e1d3ab200 100644 --- a/src/Model/Model_ResultBody.cpp +++ b/src/Model/Model_ResultBody.cpp @@ -306,6 +306,8 @@ void Model_ResultBody::updateSubs( const GeomShapePtr& theThisShape, const std::list& theOlds, const std::shared_ptr theMakeShape, const bool isGenerated) { + // to avoid changing of "isDisabled" flag in the "updateSubs" cycle + isDisabled(); myAlgo = theMakeShape; myOlds = theOlds; myIsGenerated = isGenerated;