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 1d474d8 commit d7b01db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/PointsAlongGeometry.py
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 d7b01db

Please sign in to comment.