From 0618503c0f08ef6e5e712fd5d6781b31016d0960 Mon Sep 17 00:00:00 2001 From: mpv Date: Tue, 11 Apr 2017 17:20:27 +0300 Subject: [PATCH] Fix for #2129 : even the resulting compound of edges is geometrically same, topology may be different, so selected faces in sketch must be updated to use the same curves. --- src/Model/Model_ResultConstruction.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Model/Model_ResultConstruction.cpp b/src/Model/Model_ResultConstruction.cpp index f41b2ba3d..bd101b602 100644 --- a/src/Model/Model_ResultConstruction.cpp +++ b/src/Model/Model_ResultConstruction.cpp @@ -49,9 +49,11 @@ void Model_ResultConstruction::colorConfigInfo(std::string& theSection, std::str void Model_ResultConstruction::setShape(std::shared_ptr theShape) { - if (myShape != theShape && (!theShape.get() || !theShape->isEqual(myShape))) { - static const Events_ID anEvent = Events_Loop::eventByName(EVENT_OBJECT_UPDATED); - ModelAPI_EventCreator::get()->sendUpdated(data()->owner(), anEvent); + if (myShape != theShape) { + if (!theShape.get() || !theShape->isEqual(myShape)) { + static const Events_ID anEvent = Events_Loop::eventByName(EVENT_OBJECT_UPDATED); + ModelAPI_EventCreator::get()->sendUpdated(data()->owner(), anEvent); + } myShape = theShape; if (theShape.get()) { myFacesUpToDate = false; -- 2.39.2