Skip to content
Permalink
Browse files

Merge pull request #1043 from anitagraser/master

[processing] allow float values in densify interval input field
  • Loading branch information
volaya committed Dec 28, 2013
2 parents 4b9edc7 + 720871c commit ca450ccfebf725880dd384c7b60d1002c3f2aca1
@@ -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', 1, 10000000, 1))

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 ca450cc

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