From be3b2940dafa25feb45caf3bb3f24f3e766155b9 Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 29 May 2014 09:37:03 +0400 Subject: [PATCH] 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. --- src/PartSet/PartSet_Listener.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.39.2