Skip to content

Commit

Permalink
[processing] fixed typo in nviz
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Oct 20, 2013
1 parent 5cfd708 commit 2b99414
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions python/plugins/processing/grass/nviz.py
Expand Up @@ -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

Expand All @@ -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,
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 2b99414

Please sign in to comment.