Skip to content
Browse files

[Processing] Manage default value for parameter

To finalize commit 3472ac8 update processing to well manage default value
  • Loading branch information
rldhont committed Dec 24, 2015
1 parent 2415e37 commit 7754f17a0b25b7cfd4ed6a281aa52552895aadb0
Showing with 88 additions and 70 deletions.
  1. +1 −1 python/plugins/processing/core/
  2. +87 −69 python/plugins/processing/core/
@@ -299,7 +299,7 @@ def runAlgorithm(algOrName, onFinish, *args, **kwargs):
# fill any missing parameters with default values if allowed
for param in alg.parameters:
if not in setParams:
if not param.setValue(None):
if not param.setDefaultValue():
print ('Error: Missing parameter value for parameter %s.' % (
QgsMessageLog.logMessage('Error: Missing parameter value for parameter {0}.').format(,"Processing"))

0 comments on commit 7754f17

Please sign in to comment.
You can’t perform that action at this time.