From: nds Date: Tue, 20 May 2014 09:49:13 +0000 (+0400) Subject: refs #30 - Sketch base GUI: create, draw lines X-Git-Tag: V_0.2~33 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e05fdd06061026e4010186e978f45d03c36bfe04;p=modules%2Fshaper.git refs #30 - Sketch base GUI: create, draw lines Activate should be performed by the feature is updated also. In order to have correct hightligh of it. --- diff --git a/src/PartSet/PartSet_Listener.cpp b/src/PartSet/PartSet_Listener.cpp index 937973542..06af416d2 100644 --- a/src/PartSet/PartSet_Listener.cpp +++ b/src/PartSet/PartSet_Listener.cpp @@ -42,8 +42,7 @@ void PartSet_Listener::processEvent(const Events_Message* theMessage) if (myModule->workshop()->displayer()->IsVisible(aFeature) || aType == EVENT_FEATURE_CREATED) { myModule->visualizePreview(aFeature, true, false); - if (aType == EVENT_FEATURE_CREATED) - myModule->activateFeature(aFeature, true); + myModule->activateFeature(aFeature, true); myModule->workshop()->displayer()->UpdateViewer(); } }