From d2256f49bc09b57f65ed2b1f390429afaba483d4 Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 3 Jul 2015 18:23:08 +0300 Subject: [PATCH] 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. --- src/ModuleBase/ModuleBase_WidgetSelector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2