Skip to content
Permalink
Browse files

allow float values in densify interval input field

  • Loading branch information
anitagraser committed Dec 27, 2013
1 parent 4b9edc7 commit 719f8d5200577ad63a673090e9fdcadfa2beedd1
@@ -48,8 +48,7 @@ def defineCharacteristics(self):
self.addParameter(ParameterVector(self.INPUT, 'Input layer',
[ParameterVector.VECTOR_TYPE_POLYGON,
ParameterVector.VECTOR_TYPE_LINE]))
self.addParameter(ParameterNumber(self.VERTICES, 'Vertices to add', 1,
10000000, 1))
self.addParameter(ParameterNumber(self.VERTICES, 'Vertices to add', 0.0, 10000000.0, 1.0))

self.addOutput(OutputVector(self.OUTPUT, 'Densified layer'))

@@ -52,7 +52,7 @@ def defineCharacteristics(self):
[ParameterVector.VECTOR_TYPE_POLYGON,
ParameterVector.VECTOR_TYPE_LINE]))
self.addParameter(ParameterNumber(self.INTERVAL,
'Interval between Vertices to add', 1, 10000000, 1))
'Interval between Vertices to add', 0.0, 10000000.0, 1.0))

self.addOutput(OutputVector(self.OUTPUT, 'Densified layer'))

0 comments on commit 719f8d5

Please sign in to comment.
You can’t perform that action at this time.