From 6b17a8de4d7b8b401c8e04c41dad05a37e1c6ee3 Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 14 Dec 2017 09:03:43 +0300 Subject: [PATCH] Linux compilation correction for: Sketch shape in plane selection filter should not be activated while PartSet_WidgetShapeSelector do not use sketch plane by XML. The integration is a preparation to give such information in the module. --- src/ModuleBase/ModuleBase_WidgetFeatureSelector.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ModuleBase/ModuleBase_WidgetFeatureSelector.cpp b/src/ModuleBase/ModuleBase_WidgetFeatureSelector.cpp index 77538f608..aeebdfa1e 100644 --- a/src/ModuleBase/ModuleBase_WidgetFeatureSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetFeatureSelector.cpp @@ -110,7 +110,8 @@ bool ModuleBase_WidgetFeatureSelector::setSelectionCustom(const ModuleBase_Viewe } //******************************************************************** -void ModuleBase_WidgetFeatureSelector::selectionModes(int& theModuleSelectionModes, QIntList& theModes) +void ModuleBase_WidgetFeatureSelector::selectionModes(int& theModuleSelectionModes, + QIntList& theModes) { theModuleSelectionModes = -1; theModes.push_back(ModuleBase_ResultPrs::Sel_Result); -- 2.39.2