Skip to content

Commit 89b3e06

Browse files
committedJul 10, 2013
Fix #8218
1 parent 6f82a89 commit 89b3e06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎python/plugins/fTools/tools/doIntersectLines.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ def compute(self, line1, line2, field1, field2, outPath, progressBar):
139139
inFeat = QgsFeature()
140140
inFeatB = QgsFeature()
141141
outFeat = QgsFeature()
142+
outFields = QgsFields()
143+
outFields.append(field1)
144+
outFields.append(field2)
145+
outFeat.setFields(outFields)
142146
start = 15.00
143147
add = 85.00 / layer1.featureCount()
144148

0 commit comments

Comments
 (0)
Please sign in to comment.