Skip to content

Commit

Permalink
[processing] correctly set geometry type of input in clip algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Nov 13, 2015
1 parent 860682c commit cba585d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/Clip.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def defineCharacteristics(self):
self.addParameter(ParameterVector(Clip.INPUT,
self.tr('Input layer'), [ParameterVector.VECTOR_TYPE_ANY]))
self.addParameter(ParameterVector(Clip.OVERLAY,
self.tr('Clip layer'), [ParameterVector.VECTOR_TYPE_ANY]))
self.tr('Clip layer'), [ParameterVector.VECTOR_TYPE_POLYGON]))
self.addOutput(OutputVector(Clip.OUTPUT, self.tr('Clipped')))

def processAlgorithm(self, progress):
Expand Down

0 comments on commit cba585d

Please sign in to comment.