Skip to content
Permalink
Browse files

Update VoronoiPolygons.py

Width and height were mixed up.  Fixed.

(cherry-picked from 72dcd14)
  • Loading branch information
havatv authored and nyalldawson committed Jul 24, 2018
1 parent c58d99b commit 7349b1c851c9ba6c112207e68fcd2b9f5240b327
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/algs/qgis/VoronoiPolygons.py
@@ -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()

0 comments on commit 7349b1c

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