Skip to content

Commit cba585d

Browse files
committedNov 13, 2015
[processing] correctly set geometry type of input in clip algorithm
1 parent 860682c commit cba585d

File tree

1 file changed

+1
-1
lines changed
  • python/plugins/processing/algs/qgis

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/algs/qgis/Clip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def defineCharacteristics(self):
4545
self.addParameter(ParameterVector(Clip.INPUT,
4646
self.tr('Input layer'), [ParameterVector.VECTOR_TYPE_ANY]))
4747
self.addParameter(ParameterVector(Clip.OVERLAY,
48-
self.tr('Clip layer'), [ParameterVector.VECTOR_TYPE_ANY]))
48+
self.tr('Clip layer'), [ParameterVector.VECTOR_TYPE_POLYGON]))
4949
self.addOutput(OutputVector(Clip.OUTPUT, self.tr('Clipped')))
5050

5151
def processAlgorithm(self, progress):

0 commit comments

Comments
 (0)
Please sign in to comment.