Skip to content
Permalink
Browse files
fixed syntax error in sagaalgorithm
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@169 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf committed May 7, 2012
1 parent 154f4d6 commit ccdf076f1f8147513de826c4a6ba58d2f12d2da2
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/sextante/saga/SagaAlgorithm.py
@@ -125,11 +125,11 @@ def addToResamplingExtent(self, layer, first):
self.cellsize = (layer.extent().xMaximum() - layer.extent().xMinimum())/layer.width()
else:
cellsize = (layer.extent().xMaximum() - layer.extent().xMinimum())/layer.width()
if self.xmin != layer.extent().xMinimum() or
self.xmax != layer.extent().xMaximum() or
self.ymin != layer.extent().yMinimum() or
self.ymax != layer.extent().yMaximum() or
self.cellsize != cellsize:
if self.xmin != layer.extent().xMinimum() \
or self.xmax != layer.extent().xMaximum() \
or self.ymin != layer.extent().yMinimum() \
or self.ymax != layer.extent().yMaximum() \
or self.cellsize != cellsize:
self.xmin = min(self.xmin, layer.extent().xMinimum())
self.xmax = max(self.xmax, layer.extent().xMaximum())
self.ymin = min(self.ymin, layer.extent().yMinimum())

0 comments on commit ccdf076

Please sign in to comment.