mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-07 00:15:48 -04:00
[processing][OTB] Don't remove parameter if its value is 0
This commit is contained in:
parent
50696f9936
commit
c66d36c16f
@ -202,7 +202,7 @@ class OtbAlgorithm(QgsProcessingAlgorithm):
|
||||
outputPixelType = None
|
||||
for k, v in parameters.items():
|
||||
# if value is None for a parameter we don't have any businees with this key
|
||||
if not v or v is None:
|
||||
if v is None:
|
||||
continue
|
||||
# for 'outputpixeltype' parameter we find the pixeltype string from self.pixelTypes
|
||||
if k == 'outputpixeltype':
|
||||
|
Loading…
x
Reference in New Issue
Block a user