Skip to content

Commit

Permalink
Fix typo in gridify alg
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 5, 2017
1 parent b93be39 commit 6aa672d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/Gridify.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def processFeature(self, feature, feedback):
points = self._gridify([geom.asPoint()], self.h_spacing, self.v_spacing)
newGeom = QgsGeometry.fromPoint(points[0])
elif geomType == QgsWkbTypes.MultiPoint:
points = self._gridify(geom.aMultiPoint(), self.h_spacing, self.v_spacing)
points = self._gridify(geom.asMultiPoint(), self.h_spacing, self.v_spacing)
newGeom = QgsGeometry.fromMultiPoint(points)
elif geomType == QgsWkbTypes.LineString:
points = self._gridify(geom.asPolyline(), self.h_spacing, self.v_spacing)
Expand Down

0 comments on commit 6aa672d

Please sign in to comment.