Skip to content

Commit

Permalink
[BUG] access geometry the right way
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Ströbl authored and m-kuhn committed Mar 14, 2016
1 parent ffae112 commit e3a2a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/SplitLinesWithLines.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def processAlgorithm(self, progress):
total = 100.0 / float(len(features))

for current, inFeatA in enumerate(features):
inGeom = inFeatA.geometry()
inGeom = QgsGeometry(inFeatA.geometry())
attrsA = inFeatA.attributes()
outFeat.setAttributes(attrsA)
inLines = [inGeom]
Expand Down

0 comments on commit e3a2a1e

Please sign in to comment.