mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 08:09:39 +00:00
fix filter deprecation
This commit is contained in:
parent
cbae46ce8c
commit
f39845f788
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user