Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Trigger rerender if mask is renamed

Explorer ,
Feb 10, 2023 Feb 10, 2023

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.

TOPICS
SDK
275
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 10, 2023 Feb 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 10, 2023 Feb 10, 2023

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 10, 2023 Feb 10, 2023
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines