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"));