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

Trigger rerender if mask is renamed

Explorer ,
Feb 10, 2023 Feb 10, 2023

Copy link to clipboard

Copied

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

Views

199

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

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