Skip to main content
Inspiring
October 25, 2020
Answered

Button flags to call UserChangedParam but no Render

  • October 25, 2020
  • 2 replies
  • 482 views

From the headers,

PF_ParamFlag_SUPERVISE = 1 << 6, /* call me with PF_Cmd_USER_CHANGED_PARAM (new in AE 4.0) */

 

However, I found that clicking a button (setup as PF_Param_BUTTON) triggers a render. Is there a flag that tells AE to call only UserChangedParam and not Render ?

This topic has been closed for replies.
Correct answer shachar carmi

PF_PUI_STD_CONTROL_ONLY will do the trick. there are a couple of tag along behaviors...
1. any change in any way to the param's value will ont trigger a render.

2. the param will not be keyframable.

3. if i remember correctly, the value param doesn't store with the project, and when re-loaded is reset to it's default value.

2 replies

AnmolMAuthor
Inspiring
October 25, 2020

Thanks shachar, on a slightly related note, are these any issues starting a process from UserChangedParam as I want to have a separate UI run in the background

Community Expert
October 25, 2020

no issue.

UserChangedParam is actually the preferred call during which such things should be done, as it's user triggered, rare, and called on the UI thread as opposed to the render thread.

shachar carmiCommunity ExpertCorrect answer
Community Expert
October 25, 2020

PF_PUI_STD_CONTROL_ONLY will do the trick. there are a couple of tag along behaviors...
1. any change in any way to the param's value will ont trigger a render.

2. the param will not be keyframable.

3. if i remember correctly, the value param doesn't store with the project, and when re-loaded is reset to it's default value.