Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
re-commit variable changes
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+2
−2
python/plugins/processing/gui/ParametersPanel.py
|
@@ -221,7 +221,7 @@ def createProcessingParameters(self, include_default=True): |
|
|
continue |
|
|
|
|
|
value = wrapper.parameterValue() |
|
|
if (param.defaultValue() != value and skip_defaults): |
|
|
if param.defaultValue() != value or include_default: |
|
|
parameters[param.name()] = value |
|
|
|
|
|
if not param.checkValueIsAcceptable(value): |
|
@@ -245,7 +245,7 @@ def createProcessingParameters(self, include_default=True): |
|
|
|
|
|
if value and isinstance(value, QgsProcessingOutputLayerDefinition): |
|
|
value.destinationProject = dest_project |
|
|
if value and (param.defaultValue() != value and skip_defaults): |
|
|
if value and (param.defaultValue() != value or include_default): |
|
|
parameters[param.name()] = value |
|
|
|
|
|
context = createContext() |
|
|