Skip to main content
Known Participant
February 10, 2023
Question

Trigger rerender if mask is renamed

  • February 10, 2023
  • 1 reply
  • 384 views

Is there a way to have a rerender triggered by renaming a layers masks? I get an UPDATE_PARAMETERS_UI after the renaming, but setting the FORCE_RERENDER outflag doesn't have any effect. I also set PF_OutFlag2_DEPENDS_ON_UNREFERENCED_MASKS.

This topic has been closed for replies.

1 reply

Community Expert
February 10, 2023

look into GuidMixInPtr(). it will allow you to feed the mask's name into the function during pre-render, which would make AE see the cached frame is invalid when the mask name changes, and thus trigger a re-render.

Known Participant
February 10, 2023

The problem is, after I renamed the mask, prerender is never called.

Known Participant
February 10, 2023

Sorry, I was wrong. The prerender is called. I'll investigate...