Skip to content
Permalink
Browse files

[processing] Make polygons to lines NULL aware

  • Loading branch information
m-kuhn committed Feb 4, 2016
1 parent 1205082 commit a3d3ffdf0233124f03a9a29deb899f72286c6dc8
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/PolygonsToLines.py
@@ -77,7 +77,7 @@ def processAlgorithm(self, progress):
def extractAsLine(self, geom):
multiGeom = QgsGeometry()
lines = []
if geom.type() == QGis.Polygon:
if geom and geom.type() == QGis.Polygon:
if geom.isMultipart():
multiGeom = geom.asMultiPolygon()
for i in multiGeom:

0 comments on commit a3d3ffd

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