From: vsv Date: Wed, 30 Jul 2014 08:25:49 +0000 (+0400) Subject: Issue #90: Show constraints on sketcher edit X-Git-Tag: V_0.4.4~128 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a26ab6459775c0e8454af689aab40629db3fb502;p=modules%2Fshaper.git Issue #90: Show constraints on sketcher edit --- 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(); }