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

Hi Shachar!

As you can see, I'm still torturing AE's masks...

Unfortunately, both RefreshAllWindows() and REFRESH_UI give no result.

The hard stuff is I'm checking wich vertex is selected to transform the mask, so I can't mess with selection.

Do you think Drawbot can help?

Thanx,

François