From 94375acf871d247620ab10c33f9b289229082760 Mon Sep 17 00:00:00 2001 From: mpv Date: Mon, 4 Feb 2019 17:07:01 +0300 Subject: [PATCH] Optimization for the naming structure loading in the issue 2636 model --- src/Model/Model_ResultBody.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.2