Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
re-commit variable changes
  • Loading branch information
roya0045 authored and nyalldawson committed Jan 5, 2021
1 parent 5920ded commit d11d28c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/gui/ParametersPanel.py
Expand Up @@ -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):
Expand All @@ -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()
Expand Down

0 comments on commit d11d28c

Please sign in to comment.