ui_scalar: if the default value isn't within the specified range it'll crash

13 views
Skip to first unread message

Maze Mietner

unread,
Nov 24, 2015, 4:48:16 PM11/24/15
to IceSL
Hi

the app crashes if the initial values is lower or higher than the minimum value. Example code:
foo=ui_scalar('foo',10,100,1000)
and
foo=ui_scalar('foo',1000,100,100)
both crash.

The app should just detect this error and mark the line in red.

Maze

sylefeb

unread,
Nov 25, 2015, 2:43:52 AM11/25/15
to IceSL
Thanks - this is fixed for the next release (not currently reported as an error though, simply filtered out by recomputing the actual min/max and clamping the default value).
Reply all
Reply to author
Forward
0 new messages