From 585226d8a28244379c2807b6848634c4c545c4b7 Mon Sep 17 00:00:00 2001 From: alemuntoni Date: Fri, 21 May 2021 11:52:40 +0200 Subject: [PATCH] docs --- src/common/plugins/interfaces/filter_plugin.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/common/plugins/interfaces/filter_plugin.h b/src/common/plugins/interfaces/filter_plugin.h index e93914e9e..80b45e956 100644 --- a/src/common/plugins/interfaces/filter_plugin.h +++ b/src/common/plugins/interfaces/filter_plugin.h @@ -158,8 +158,11 @@ public: /** * @brief This function is called to initialized the list of parameters. - * If a filter does not need parameters, return an empty list and the framework - * will not create a dialog (unless for previewing) + * If a filter does not need parameters, do not implement this function and + * the framework will not create a dialog (unless for previewing). + * You can implement the one which takes the MeshModel or the one that + * takes the MeshDocument, depending of your needings, but do not re-implement + * both the functions. */ virtual RichParameterList initParameterList(const QAction*, const MeshModel &/*m*/) {