Widget KnobFixed's knobWidgetShader is not updating its params correctly

knobFixed_cooking_bug.toe (18.1 KB)

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.

Hey what version were you using? We recently addressed this issue but its only fixed in 30K experimental branch. Are you using 10K?

Sup Jarrett :smiley:

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.

Thanks.

Da.

ps: I have pretty much stopped using the stable build, even for actual work. All the fun stuff are in the experimental build. :smiley:

1 Like

I just tested it in our internal experimental. Works fine, so next release should have this all good for ya.

Awesome! Thank u guys.

Looking forward to the next experimental release.

Da.

1 Like