Fix opt name for SpinBox: range -> bounds.

This commit is contained in:
Kenneth Lyons 2016-04-11 21:05:21 -07:00
parent 63d12c1caa
commit 3ec02d0662

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