From 0f782521d7e665a56871258547ba68fddedab9fe Mon Sep 17 00:00:00 2001 From: vsv Date: Fri, 26 Sep 2014 16:44:18 +0400 Subject: [PATCH] Do not use pre-selection for boolean operation in order to avoid bug with twice selection --- src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp b/src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp index c4832dd8f..e0c12b197 100644 --- a/src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp @@ -237,8 +237,8 @@ void ModuleBase_WidgetShapeSelector::activateSelection(bool toActivate) else disconnect(myWorkshop, SIGNAL(selectionChanged()), this, SLOT(onSelectionChanged())); - if (myWorkshop->selectedObjects().size() > 0) - onSelectionChanged(); +// if (myWorkshop->selectedObjects().size() > 0) +// onSelectionChanged(); } //******************************************************************** -- 2.39.2