]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
OCC Bugs are 24965, 24966
authornds <natalia.donis@opencascade.com>
Thu, 29 May 2014 05:37:03 +0000 (09:37 +0400)
committernds <natalia.donis@opencascade.com>
Thu, 29 May 2014 05:37:03 +0000 (09:37 +0400)
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.

src/PartSet/PartSet_Listener.cpp

index 63eefc0d0a406ef164a4e938daa62db9df60f979..fbe2485324858d246d998b2db7a6a749967377cb 100644 (file)
@@ -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);
       }
     }