Skip to content

Commit

Permalink
[processing] Add missing RasterLayer input parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
backporting[bot] authored and nyalldawson committed Mar 18, 2019
1 parent 7baf9df commit edb0237
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/processing/algfactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
QgsProcessingParameterMultipleLayers,
QgsProcessingParameterPoint,
QgsProcessingParameterRange,
QgsProcessingParameterRasterLayer,
QgsProcessingParameterVectorLayer,
QgsProcessingParameterMeshLayer,
QgsProcessingOutputString,
Expand Down Expand Up @@ -425,6 +426,7 @@ def input(self, type, *args, **kwargs):
alg.SOURCE: QgsProcessingParameterFeatureSource
alg.FILE_DEST: QgsProcessingParameterFileDestination
alg.FOLDER_DEST: QgsProcessingParameterFolderDestination
alg.RASTER_LAYER: QgsProcessingParameterRasterLayer
alg.RASTER_LAYER_DEST: QgsProcessingParameterRasterDestination
alg.VECTOR_LAYER_DEST: QgsProcessingParameterVectorDestination
alg.BAND: QgsProcessingParameterBand
Expand Down Expand Up @@ -472,6 +474,7 @@ def dec(f):
ProcessingAlgFactory.SOURCE: QgsProcessingParameterFeatureSource,
ProcessingAlgFactory.FILE_DEST: QgsProcessingParameterFileDestination,
ProcessingAlgFactory.FOLDER_DEST: QgsProcessingParameterFolderDestination,
ProcessingAlgFactory.RASTER_LAYER: QgsProcessingParameterRasterLayer,
ProcessingAlgFactory.RASTER_LAYER_DEST: QgsProcessingParameterRasterDestination,
ProcessingAlgFactory.VECTOR_LAYER_DEST: QgsProcessingParameterVectorDestination,
ProcessingAlgFactory.BAND: QgsProcessingParameterBand,
Expand Down

0 comments on commit edb0237

Please sign in to comment.