Skip to content
Permalink
Browse files

[processing] fixed typo in nviz

  • Loading branch information
volaya committed Oct 20, 2013
1 parent 5cfd708 commit 2b99414c9e0620e294879512b79b72683272e2e2
Showing with 2 additions and 3 deletions.
  1. +2 −3 python/plugins/processing/grass/nviz.py
@@ -34,7 +34,6 @@
from processing.parameters.ParameterNumber import ParameterNumber
from processing.parameters.ParameterRaster import ParameterRaster
from processing.grass.GrassUtils import GrassUtils

from processing.tools.system import *
from processing.tools import dataobjects

@@ -59,7 +58,7 @@ def defineCharacteristics(self):
self.addParameter(ParameterMultipleInput(nviz.VECTOR, 'Vector lines/areas overlay file(s)',
ParameterMultipleInput.TYPE_VECTOR_ANY, True))
self.addParameter(ParameterMultipleInput(nviz.COLOR, 'Raster file(s) for color',
ParameterMultipleInput.TYPE_RASTER, True)
ParameterMultipleInput.TYPE_RASTER, True))
self.addParameter(ParameterExtent(nviz.GRASS_REGION_EXTENT_PARAMETER,
'GRASS region extent'))
self.addParameter(ParameterNumber(self.GRASS_REGION_CELLSIZE_PARAMETER,
@@ -95,7 +94,7 @@ def processAlgorithm(self, progress):
commands.append(cmd)
vector = vector.replace(layer, newfilename)
command += ' vector=' + vector.replace(';', ',')
if color:
if color:
layers = color.split(';')
for layer in layers:
(cmd, newfilename) = self.exportRasterLayer(layer)

0 comments on commit 2b99414

Please sign in to comment.
You can’t perform that action at this time.