Skip to content
Permalink
Browse files
re-commit variable changes
  • Loading branch information
roya0045 authored and nyalldawson committed Jan 5, 2021
1 parent 5920ded commit d11d28ca3e30db0e497ab2408d7ae78c710ea514
Showing with 2 additions and 2 deletions.
  1. +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()

0 comments on commit d11d28c

Please sign in to comment.