Skip to main content
françois leroy
Inspiring
September 12, 2013
Question

Refresh mask

  • September 12, 2013
  • 1 reply
  • 1411 views

Hi!

My plugin (effect) acts like an AEGP and performs Mask modification.

Everything works fine, but AE still shows the Mask before modification unless I deselect the mask... Is there a way to force refresh?

Note, I can't force "deselect" then "reselect", cos' the Mask computation needs the selection to be stable...

Thanx in advance,

François

This topic has been closed for replies.

1 reply

Community Expert
September 12, 2013

yo leroy! ssup?

i don't know for sure, but you can try:

suites.AdvAppSuite2()->PF_RefreshAllWindows();

a more localized version would be:

out_data->out_flags |= PF_OutFlag_REFRESH_UI;

if both don't do the trick, we'll try to conjure something up...

françois leroy
Inspiring
September 12, 2013

Oh! It seems it happens only with CS5!

May be we don't need to call the devil... just update AE!

Cheers,

François

Community Expert
September 12, 2013

everyone knows masks are evil and deserve to be tortured.

well, if youdon't care that much about cs5 behavior, then we can let this issue go.

if you do... we'll think of something... (already have an idea...)