Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] change nodata default to none instead of 0 in gdal's tra…
…nslate alg
  • Loading branch information
nirvn authored and nyalldawson committed Jul 16, 2018
1 parent 5056139 commit 4ae948d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/gdal/translate.py
Expand Up @@ -69,7 +69,7 @@ def initAlgorithm(self, config=None):
self.addParameter(QgsProcessingParameterNumber(self.NODATA,
self.tr('Assign a specified nodata value to output bands'),
type=QgsProcessingParameterNumber.Double,
defaultValue=0.0,
defaultValue=None,
optional=True))
self.addParameter(QgsProcessingParameterBoolean(self.COPY_SUBDATASETS,
self.tr('Copy all subdatasets of this file to individual output files'),
Expand Down

0 comments on commit 4ae948d

Please sign in to comment.