Skip to content

Commit

Permalink
Update VoronoiPolygons.py
Browse files Browse the repository at this point in the history
Width and height were mixed up.  Fixed.
  • Loading branch information
havatv authored and nyalldawson committed Jul 30, 2018
1 parent df05369 commit 72dcd14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/VoronoiPolygons.py
Expand Up @@ -103,8 +103,8 @@ def processAlgorithm(self, parameters, context, feedback):

outFeat = QgsFeature()
extent = source.sourceExtent()
extraX = extent.height() * (buf / 100.0)
extraY = extent.width() * (buf / 100.0)
extraX = extent.width() * (buf / 100.0)
extraY = extent.height() * (buf / 100.0)
height = extent.height()
width = extent.width()
c = voronoi.Context()
Expand Down

0 comments on commit 72dcd14

Please sign in to comment.