From: nds Date: Thu, 14 Dec 2017 06:03:43 +0000 (+0300) Subject: Linux compilation correction for: Sketch shape in plane selection filter should not... X-Git-Tag: V_2.10.0RC~41 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6b17a8de4d7b8b401c8e04c41dad05a37e1c6ee3;p=modules%2Fshaper.git 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. --- 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);