Skip to content
Permalink
Browse files

[SAGA] Fix saga_cmd command with multiple outputs

Fixes a regression bug accidentally introduced with 40134d6 (PR #8968) and backported with a887b7d (PR #9231): when there are multiple output parameters processAlgorithm incorrectly generates multiple saga_cmd commands, instead of a single command containing the output parameters.

Fixes #33658
  • Loading branch information
agiudiceandrea authored and nyalldawson committed Jan 9, 2020
1 parent 40b102f commit 0d4d8254c16585de90d19576c8cd9dbabf27f66a
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/saga/SagaAlgorithm.py
@@ -326,7 +326,7 @@ def processAlgorithm(self, parameters, context, feedback):

output_files[out.name()] = filePath
command += ' -{} "{}"'.format(out.name(), filePath)
commands.append(command)
commands.append(command)

# special treatment for RGB algorithm
# TODO: improve this and put this code somewhere else

0 comments on commit 0d4d825

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