Skip to content

Commit

Permalink
[processing] Fix rasterize dialog openning
Browse files Browse the repository at this point in the history
Fix #16061

Do not pass in getConsoleCommand just to get commandName for shortHelp.
This avoid errors with non initialized parameters.
  • Loading branch information
arnaud-morvan committed Apr 29, 2017
1 parent b3e1aba commit bc09875
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/gdal/rasterize.py
Expand Up @@ -163,3 +163,6 @@ def getConsoleCommands(self):

arguments.append(out)
return ['gdal_rasterize', GdalUtils.escapeAndJoin(arguments)]

def commandName(self):
return "gdal_rasterize"
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/gdal/rasterize_over.py
Expand Up @@ -85,3 +85,6 @@ def getConsoleCommands(self):
arguments.append(ogrRasterLayer)

return ['gdal_rasterize', GdalUtils.escapeAndJoin(arguments)]

def commandName(self):
return "gdal_rasterize"

0 comments on commit bc09875

Please sign in to comment.