]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix of the problem of loading of sketch with simple circle: sketch results did not...
authormpv <mpv@opencascade.com>
Wed, 7 Sep 2016 12:09:39 +0000 (15:09 +0300)
committermpv <mpv@opencascade.com>
Wed, 7 Sep 2016 12:09:52 +0000 (15:09 +0300)
src/Model/Model_Objects.cpp

index c55a9430717793a234e2d24073c6d7e2ea127f3f..31208a493c03355395e9f18fa9a44b4398dc31d6 100644 (file)
@@ -721,7 +721,8 @@ void Model_Objects::synchronizeFeatures(
       FeaturePtr aFeature = myFeatures.Find(aFeatureLabel);
       if (std::dynamic_pointer_cast<ModelAPI_CompositeFeature>(aFeature).get())
         aComposites.push_back(aFeature);
-      updateResults(aFeature);
+      else
+        updateResults(aFeature);
     }
   }
   std::list<FeaturePtr>::iterator aComposite = aComposites.begin();