From 01555f6b30a2e3fbeb2d0eff4b30c4b2a0a75e41 Mon Sep 17 00:00:00 2001 From: mpv Date: Wed, 7 Sep 2016 15:09:39 +0300 Subject: [PATCH] Fix of the problem of loading of sketch with simple circle: sketch results did not displayed at the first time. --- src/Model/Model_Objects.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.39.2