From f39845f78886222e8965cca76de4eefc52443dcd Mon Sep 17 00:00:00 2001 From: alemuntoni Date: Thu, 11 Nov 2021 10:50:24 +0100 Subject: [PATCH] fix filter deprecation --- src/common/python/function_set.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/python/function_set.cpp b/src/common/python/function_set.cpp index 3d9c71e9e..ca620ff9e 100644 --- a/src/common/python/function_set.cpp +++ b/src/common/python/function_set.cpp @@ -64,10 +64,10 @@ void pymeshlab::FunctionSet::loadFilterPlugin(FilterPlugin* fp) filterSet.insert(f); // Just for actual PyMeshLab version; this portion of code will be removed soon - QString oldPythonFilterName = computePythonName(fp->pythonFilterName(act)); + QString oldPythonFilterName = computePythonName(fp->filterName(act)); f.setPythonFunctionName(oldPythonFilterName); - f.setDeprecated("You should use " + pythonFilterName.toStdString() + - " instead of " + oldPythonFilterName.toStdString() + "."); + f.setDeprecated("You should use '" + pythonFilterName.toStdString() + + "' instead of '" + oldPythonFilterName.toStdString() + "'."); filterSet.insert(f); } }