From: mpv Date: Wed, 7 Sep 2016 12:09:39 +0000 (+0300) Subject: Fix of the problem of loading of sketch with simple circle: sketch results did not... X-Git-Tag: V_2.5.0~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=01555f6b30a2e3fbeb2d0eff4b30c4b2a0a75e41;p=modules%2Fshaper.git Fix of the problem of loading of sketch with simple circle: sketch results did not displayed at the first time. --- diff --git a/src/Model/Model_Objects.cpp b/src/Model/Model_Objects.cpp index c55a94307..31208a493 100644 --- a/src/Model/Model_Objects.cpp +++ b/src/Model/Model_Objects.cpp @@ -721,7 +721,8 @@ void Model_Objects::synchronizeFeatures( FeaturePtr aFeature = myFeatures.Find(aFeatureLabel); if (std::dynamic_pointer_cast(aFeature).get()) aComposites.push_back(aFeature); - updateResults(aFeature); + else + updateResults(aFeature); } } std::list::iterator aComposite = aComposites.begin();