Skip to main content
françois leroy
Inspiring
February 23, 2016
Answered

PF_OutFlag2_I_USE_3D_CAMERA

  • February 23, 2016
  • 1 reply
  • 2367 views

Hi guys!

I'm curently using PF_OutFlag2_I_USE_3D_CAMERA, and I'm using it on a 3D layer. Without explaining it all, I need to seperate camera moves from layer moves, so I need to have my layer's 3D flag set AND this camera flag set.

My effect works fine so far, except this annoying modal box warning me that the effect should be applied to 2D layers (which is wrong in my case...) and this "!" sign over the "3D cube like" icon of my effect.

Does anyone know how to get rid of it (at least the alert)? How to tell AE that I DO need this flag even if my layer is 3D?

Thanx,

François

This topic has been closed for replies.
Correct answer françois leroy

ANARCHY!!!!!


For the record, here's a cleaner answer to my own question:

During GlobalSetup:

ERR(suites.PersistentDataSuite3()->AEGP_SetData(blobH,
"Application Warning Preference Section",
"3D esque effect on 3D layer",
1,
reinterpret_cast<void*>(00)));

It won't change the icon, but at least no warning!

But, anarchy was more fun! ;-)


Cheers,

François

1 reply

Community Expert
February 23, 2016

so... decided to rebel against the institution that is AE?

i don't think you can tell AE that this situation is in fact not an error.

at least i don't know of a way.

you can however use AEGP_StartQuietErrors() to make it shut up.

you'll need to balance id with AEGP_EndQuietErrors() at some point, or the

entire AE session will go berserk, and no windows (such as "save file")

will open...

that's a dangerous route i'm suggesting. if you implement it, make sure the

balancing call is guaranteed to be set.

françois leroy
Inspiring
February 23, 2016

Hey! You could let questions unreplied for at least 10 minutes so people can have fun ;-)

I would have prefered being polite with AE and tell it what I'm doing, but I'll probably have to force it be quiet...

So, let's use brute force for once!

Thanx Shachar!

François

françois leroy
Inspiring
February 24, 2016

oh, and don't mark my solution as correct. mark yours.

we don't want kids running around errorless.


That would be real anarchy!