From 3ec02d06625942890579fc6b94bbe57ecfd09daa Mon Sep 17 00:00:00 2001 From: Kenneth Lyons Date: Mon, 11 Apr 2016 21:05:21 -0700 Subject: [PATCH] Fix opt name for SpinBox: range -> bounds. --- examples/FlowchartCustomNode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/FlowchartCustomNode.py b/examples/FlowchartCustomNode.py index fcc0a767..2b0819ab 100644 --- a/examples/FlowchartCustomNode.py +++ b/examples/FlowchartCustomNode.py @@ -92,8 +92,8 @@ class UnsharpMaskNode(CtrlNode): """Return the input data passed through an unsharp mask.""" nodeName = "UnsharpMask" uiTemplate = [ - ('sigma', 'spin', {'value': 1.0, 'step': 1.0, 'range': [0.0, None]}), - ('strength', 'spin', {'value': 1.0, 'dec': True, 'step': 0.5, 'minStep': 0.01, '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, 'bounds': [0.0, None]}), ] def __init__(self, name): ## Define the input / output terminals available on this node