hsv_to_rgb_CHOP.tox (1.4 KB)
Importing a custom component from an older version of TouchDesigner (v077 build18260) into a more modern version (v099 2022.25370 in my case) gives a peculiar issue when it comes to enabling expressions.
In my case I downloaded the hsv_to_rgb_CHOP.tox at this link and after changing some stuff both internally and on the custom parameters I wanted to had a TOGGLE custom parameter to enable the HUE parameter so I added the enable expression me.par.Toggle == 1
which endend up giving me the following error:
Enable expression errors:
Error: (tscript) Bad data type for function or operation (Parameter: Hue (0-360)) (/project1/hsv_to_rgb_CHOP)
Recreating the Base COMP fixed the issue and made the component work just fine