Copy link to clipboard
Copied
Copy link to clipboard
Copied
can you post the code where you define the parameter?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
nothing obvious comes to mund, except that you need to make a copy of the param definition, change the flag in the copy, and pass the copy to PF_UpdateParamUI.
quoting from the docs: "During PF_Cmd_UPDATE_PARAMS_UI, you may only change the appearance and enable state of parameters. Use PF_UpdateParamUI()
from PF_ParamUtilSuite3 to update the UI, passing it a copy of the parameter you wish to modify. Do not attempt to modify the original"
Copy link to clipboard
Copied
Copy link to clipboard
Copied
is the "update params ui" function getting called at all? did you define PF_OutFlag_SEND_UPDATE_PARAMS_UI on global setup?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
when making a copy of the param defs, you need to actually copy that param's defs into the copy, and then change that one flag. the structure you're currently passing probably contains junk data that might make the call invalid.
is an arror code returned from the PF_UpdateParamUI call?