Skip to content
Browse files

Merge branch 'processing_modeler_default_value'

  • Loading branch information
rldhont committed Apr 28, 2016
2 parents 93d984e + 4a11a1a commit 37d6c69c24486290f34aafcb5363e28b5c9d8b73
@@ -389,7 +389,7 @@ def prepareAlgorithm(self, alg):
iface.messageBar().pushMessage("Warning"),"Parameter %s in algorithm %s in the model is run with default value! Edit the model to make sure that this is correct.") % (,,
QgsMessageBar.WARNING, 4)
value = None
value = param.default
if value is None and isinstance(param, ParameterExtent):
value = self.getMinCoveringExtent()
# We allow unexistent filepaths, since that allows
@@ -454,7 +454,7 @@ def setPreviousValues(self):
if in alg.params:
value = alg.params[]
value = None
value = param.default
if isinstance(param, (

0 comments on commit 37d6c69

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