From: mpv Date: Mon, 12 Oct 2015 08:56:05 +0000 (+0300) Subject: Minor fix: checked on edition of extrusion-cut sketch: extrusion cut result should... X-Git-Tag: V_1.4.0_demo2~10^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FBR_ADVANCED_CURRENT_FEATURE_MANAGEMENT;p=modules%2Fshaper.git Minor fix: checked on edition of extrusion-cut sketch: extrusion cut result should not be appeared --- diff --git a/src/Model/Model_Update.cpp b/src/Model/Model_Update.cpp index 595feacf1..496577676 100644 --- a/src/Model/Model_Update.cpp +++ b/src/Model/Model_Update.cpp @@ -695,7 +695,10 @@ void Model_Update::updateStability(void* theSender) std::list& aRefFeaturesList = aRefIt->second; std::list::iterator aReferenced = aRefFeaturesList.begin(); for(; aReferenced != aRefFeaturesList.end(); aReferenced++) { - if (aReferenced->get() && (*aReferenced)->data()->isValid()) { + // stability is only on results: feature to feature reference mean nested + // features, that will remove nesting references + if (aReferenced->get() && (*aReferenced)->data()->isValid() && + (*aReferenced)->groupName() != ModelAPI_Feature::group()) { std::shared_ptr aData = std::dynamic_pointer_cast((*aReferenced)->data()); if (aFeatureSender->isStable()) {