From 8440351ca491720b158595e164b389a092d04ac4 Mon Sep 17 00:00:00 2001 From: mpv Date: Mon, 12 Oct 2015 11:56:05 +0300 Subject: [PATCH] Minor fix: checked on edition of extrusion-cut sketch: extrusion cut result should not be appeared --- src/Model/Model_Update.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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()) { -- 2.39.2