From: nds Date: Thu, 29 May 2014 05:37:03 +0000 (+0400) Subject: OCC Bugs are 24965, 24966 X-Git-Tag: V_0.4.4~339^2~1^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=be3b2940dafa25feb45caf3bb3f24f3e766155b9;p=modules%2Fshaper.git OCC Bugs are 24965, 24966 Undoes the previous modification because it leads to the selecting of the last point of a created line. It is not possible in this case to choose a point of another object for creation. --- diff --git a/src/PartSet/PartSet_Listener.cpp b/src/PartSet/PartSet_Listener.cpp index 63eefc0d0..fbe248532 100644 --- a/src/PartSet/PartSet_Listener.cpp +++ b/src/PartSet/PartSet_Listener.cpp @@ -47,7 +47,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) + //if (aType == EVENT_FEATURE_CREATED) myModule->activateFeature(aFeature, true); } }