Skip to content
Browse files

[processing] fixed parameter definition parsing for parameters of typ…

…e integer
  • Loading branch information
volaya committed Aug 22, 2014
1 parent 8874696 commit 3fdf12b947f423c5cafcb49e9534f29b4e50d48c
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/core/
@@ -368,11 +368,11 @@ def __init__(self, name='', description='', minValue=None, maxValue=None,
self.default = float(default)
self.isInteger = False
if minValue is not None:
self.min = int(minValue) if self.isInteger else float(minValue)
self.min = int(float(minValue)) if self.isInteger else float(minValue)
self.min = None
if maxValue is not None:
self.max = int(maxValue) if self.isInteger else float(maxValue)
self.max = int(float(maxValue)) if self.isInteger else float(maxValue)
self.max = None
self.value = None

0 comments on commit 3fdf12b

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