From: nds Date: Fri, 3 Jul 2015 15:23:08 +0000 (+0300) Subject: Shape plane filter should process shapes of objects selected in object browser. X-Git-Tag: V_1.3.0~109 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d2256f49bc09b57f65ed2b1f390429afaba483d4;p=modules%2Fshaper.git Shape plane filter should process shapes of objects selected in object browser. Provides the vidget validated by IWorkshop to use the filters of AIS context The goal is to ask context filters by preselection an in onSelectionChanged for presentations from OB only. --- diff --git a/src/ModuleBase/ModuleBase_WidgetSelector.cpp b/src/ModuleBase/ModuleBase_WidgetSelector.cpp index 1b9df3d57..e979b9c48 100755 --- a/src/ModuleBase/ModuleBase_WidgetSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetSelector.cpp @@ -11,6 +11,8 @@ #include +#include + ModuleBase_WidgetSelector::ModuleBase_WidgetSelector(QWidget* theParent, ModuleBase_IWorkshop* theWorkshop, const Config_WidgetAPI* theData, @@ -58,8 +60,6 @@ void ModuleBase_WidgetSelector::onSelectionChanged() updateFocus(); } -#include - //******************************************************************** bool ModuleBase_WidgetSelector::acceptSubShape(const GeomShapePtr& theShape, const ResultPtr& theResult) const