Merge pull request #308 from ixjlyons/fix-issue260

Fix opt name for SpinBox: range -> bounds.
This commit is contained in:
Eric Dill 2016-04-12 12:55:21 -04:00
commit d67d2c6d62

View File

@ -92,8 +92,8 @@ class UnsharpMaskNode(CtrlNode):
"""Return the input data passed through an unsharp mask.""" """Return the input data passed through an unsharp mask."""
nodeName = "UnsharpMask" nodeName = "UnsharpMask"
uiTemplate = [ uiTemplate = [
('sigma', 'spin', {'value': 1.0, 'step': 1.0, 'range': [0.0, None]}), ('sigma', 'spin', {'value': 1.0, 'step': 1.0, 'bounds': [0.0, None]}),
('strength', 'spin', {'value': 1.0, 'dec': True, 'step': 0.5, 'minStep': 0.01, 'range': [0.0, None]}), ('strength', 'spin', {'value': 1.0, 'dec': True, 'step': 0.5, 'minStep': 0.01, 'bounds': [0.0, None]}),
] ]
def __init__(self, name): def __init__(self, name):
## Define the input / output terminals available on this node ## Define the input / output terminals available on this node