Skip to content

Commit

Permalink
Regenerate fids for "points along geometry"
Browse files Browse the repository at this point in the history
Fix #19998
  • Loading branch information
m-kuhn committed Oct 31, 2018
1 parent f8d873c commit d0eeffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/PointsAlongGeometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def processAlgorithm(self, parameters, context, feedback):
fields.append(QgsField('angle', QVariant.Double))

(sink, dest_id) = self.parameterAsSink(parameters, self.OUTPUT, context,
fields, QgsWkbTypes.Point, source.sourceCrs())
fields, QgsWkbTypes.Point, source.sourceCrs(), QgsFeatureSink.RegeneratePrimaryKey)
if sink is None:
raise QgsProcessingException(self.invalidSinkError(parameters, self.OUTPUT))

Expand Down

0 comments on commit d0eeffb

Please sign in to comment.