When I tried to finesse the knobFixed widget to handle rotation in degrees, from 0 to 360, by modifying Value0’s max and normMax, the knob did not adjust its range accordingly. I dug around, and it seems the knobWidgetShader did not receive the updates. Everything is fine once I force cook this glsl top.
Please see attached toe file for example.
ps: On a different note, the min/max and normMin/normMax uses here are rather disconnected. The knob dial is created based on normMin/Max, however, clamp will use max instead. So, there is a disconnect if min/max aren’t the same as their norm counter parts.
I just checked my example file against 2019.33840. And it’s not working.
Steps to reproduce the bug:
Open my example file in 33840
Run Set_Param_Min_Max script
Play with the knob, it will go crazy.
Run script in text1 DAT.
Everything is kosher then.