From a26ab6459775c0e8454af689aab40629db3fb502 Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 30 Jul 2014 12:25:49 +0400 Subject: [PATCH] Issue #90: Show constraints on sketcher edit --- src/PartSet/PartSet_Module.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/PartSet/PartSet_Module.cpp b/src/PartSet/PartSet_Module.cpp index 664346205..b28152c01 100644 --- a/src/PartSet/PartSet_Module.cpp +++ b/src/PartSet/PartSet_Module.cpp @@ -369,6 +369,8 @@ void PartSet_Module::onFeatureConstructed(ObjectPtr theFeature, int theMode) else aDisplayer->erase((*aIt), false); } + if (!isDisplay) + aDisplayer->erase((*aSFIt), false); } } if (isDisplay) @@ -562,6 +564,7 @@ void PartSet_Module::updateCurrentPreview(const std::string& theCmdId) aDisplayer->activateInLocalContext((*aRIt), aModes, false); } aDisplayer->display(aSPFeature, false); + aDisplayer->activateInLocalContext(aSPFeature, aModes, false); } aDisplayer->updateViewer(); } -- 2.39.2