From: vsv Date: Fri, 26 Sep 2014 12:44:18 +0000 (+0400) Subject: Do not use pre-selection for boolean operation in order to avoid bug with twice selection X-Git-Tag: V_0.4.4~7^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0f782521d7e665a56871258547ba68fddedab9fe;p=modules%2Fshaper.git Do not use pre-selection for boolean operation in order to avoid bug with twice selection --- 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(); } //********************************************************************