Skip to content

Commit e3a2a1e

Browse files
Bernhard Ströblm-kuhn
authored andcommittedMar 14, 2016
[BUG] access geometry the right way
1 parent ffae112 commit e3a2a1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/algs/qgis/SplitLinesWithLines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def processAlgorithm(self, progress):
6969
total = 100.0 / float(len(features))
7070

7171
for current, inFeatA in enumerate(features):
72-
inGeom = inFeatA.geometry()
72+
inGeom = QgsGeometry(inFeatA.geometry())
7373
attrsA = inFeatA.attributes()
7474
outFeat.setAttributes(attrsA)
7575
inLines = [inGeom]

0 commit comments

Comments
 (0)
Please sign in to comment.