From 730a2bed6acf8290691ec510a564d0c7d4d39624 Mon Sep 17 00:00:00 2001 From: PFasano99 Date: Tue, 20 Jun 2023 16:15:59 +0200 Subject: [PATCH] changed RichPosition to RichDirection in filter for face selection --- src/meshlabplugins/filter_embree/filter_embree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshlabplugins/filter_embree/filter_embree.cpp b/src/meshlabplugins/filter_embree/filter_embree.cpp index a160f3b15..f3330a1e4 100644 --- a/src/meshlabplugins/filter_embree/filter_embree.cpp +++ b/src/meshlabplugins/filter_embree/filter_embree.cpp @@ -251,7 +251,7 @@ RichParameterList FilterEmbreePlugin::initParameterList(const QAction *action,co break; case FP_SELECT_VISIBLE_FACES: parlst.addParam(RichInt("Rays", 64, "Number of rays", "The number of rays shoot from the barycenter of the face.")); - parlst.addParam(RichPosition("dir", Point3f(1.0f, 1.0f, 0.0f), "Direction", "This values indicates the direction of the shadows")); + parlst.addParam(RichDirection("dir", Point3f(1.0f, 1.0f, 0.0f), "Direction", "This values indicates the direction of the shadows")); break; case FP_ANALYZE_NORMALS: parlst.addParam(RichInt("Rays", 64, "Number of rays", "The number of rays shoot from the barycenter of the face. The higher the number the higher the definition of the normal analysis but at the cost of the calculation time"));