mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
[SAGA] Fix saga_cmd command with multiple outputs
Fixes a regression bug accidentally introduced with 40134d6473fcdbd8b6f53c3ea3db01e2dd606419 (PR #8968) and backported with a887b7d34bfa44a8400bcaa986ede96e15a760c9 (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
This commit is contained in:
parent
40b102fcce
commit
0d4d8254c1
@ -326,7 +326,7 @@ class SagaAlgorithm(SagaAlgorithmBase):
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user