AEGP_LayerFlag_MOTION_BLUR and AEGP_CompFlag_ENABLE_MOTION_BLUR
Hi,
I have a plugin that handles its own motion blur calculation (like the Puppet tool does).
Everything works fine, I can check AEGP_CompFlag_ENABLE_MOTION_BLUR at render time so users can play with it just like any other layer.
The only issue I have is:
_If AEGP_LayerFlag_MOTION_BLUR is disabled, which is the option I chose now, AE doesn't compute motion blur on this layer and I can render my own motion blur.
BUT, I don't get a render call when AEGP_CompFlag_ENABLE_MOTION_BLUR is modified, and AE caches wrong data.
_If AEGP_LayerFlag_MOTION_BLUR is enabled, AE computes motion blur as it should and triggers a rerender when AEGP_CompFlag_ENABLE_MOTION_BLUR changes, but my own motion blur is just added to AE's one, which is not good.
So, is there any way to either have AEGP_LayerFlag_MOTION_BLUR enabled but tell AE not to render motion blur on this layer, or to get a render call when AEGP_CompFlag_ENABLE_MOTION_BLUR is modified?
I still can check the flag at idle time, but then I have to keep track of active comp, the layer index and the effect index... And even so, to force re-render, I would have to change a hidden parameter value, and that would invalidate all the cached data for nothing.
Any idea?
Thanks,
François