From cac36d7e01d5731fdbfbd55153b61bbd916ae280 Mon Sep 17 00:00:00 2001 From: Paolo Cignoni Date: Tue, 21 Dec 2021 11:35:23 +0100 Subject: [PATCH] Update meshselect.cpp default for filter quality selection were a bit weird. --- src/meshlabplugins/filter_select/meshselect.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/meshlabplugins/filter_select/meshselect.cpp b/src/meshlabplugins/filter_select/meshselect.cpp index cb387c888..752cf8690 100644 --- a/src/meshlabplugins/filter_select/meshselect.cpp +++ b/src/meshlabplugins/filter_select/meshselect.cpp @@ -374,22 +374,22 @@ SelectionFilterPlugin::initParameterList(const QAction* action, const MeshModel& parlst.addParam(RichDynamicFloat( "minQ", - minq * 0.75 + maxq * .25, + minq, minq, maxq, tr("Min Quality"), tr("Minimum acceptable quality value"))); parlst.addParam(RichDynamicFloat( "maxQ", - minq * 0.25 + maxq * .75, + maxq, minq, maxq, tr("Max Quality"), tr("Maximum acceptable quality value"))); parlst.addParam(RichBool( - "Inclusive", + "faceSelInclusive", true, - "Inclusive Sel.", + "Inclusive Face Sel.", "If true only the faces with all the vertices within the specified range are " "selected. Otherwise any face with at least one vertex within the range is selected.")); } break; @@ -401,14 +401,14 @@ SelectionFilterPlugin::initParameterList(const QAction* action, const MeshModel& parlst.addParam(RichDynamicFloat( "minQ", - minq * 0.75 + maxq * .25, + minq, minq, maxq, tr("Min Quality"), tr("Minimum acceptable quality value"))); parlst.addParam(RichDynamicFloat( "maxQ", - minq * 0.25 + maxq * .75, + maxq, minq, maxq, tr("Max Quality"),