Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Processing] Optional parameters for script and model
In processing core every parameters can be optional but in scripts there is no way to define a parameter as optional and in modeler only layers can be optional. For script, I propose a notation like output, if a parameter token starts with optional the parameter is optional. For model, I propose to add the required combobox to all parameters. This proposition does not change the value setter. This proposition can fix the issue http://hub.qgis.org/issues/5488.
- Loading branch information
Showing
2 changed files
with
125 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters