Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 90000

Re: Using AEGP_StartUndoGroup / EndUndo to force an asynchronous re-render

$
0
0

Finally I managed to do it using Idle ,yes it works with Effects plug-ins!

Just as documentation for future readers:

 

AEGP_EffectRefH meH;

AEGP_StreamRefH streamH ;

suites.PFInterfaceSuite1()->AEGP_GetNewEffectForEffect(pluginID, mEffectRef, &meH);

if(meH)

{

   (suites.StreamSuite2()->AEGP_GetNewEffectStreamByIndex(pluginID, meH, SLIDER_DISK_ID, &streamH));

   if (streamH)

    {

       ERR(suites.DynamicStreamSuite2()->AEGP_SetDynamicStreamFlag(streamH, AEGP_DynStreamFlag_HIDDEN, TRUE, TRUE));

       ERR(suites.StreamSuite2()->AEGP_SetStreamValue(pluginID,streamH,&val));

       ERR(suites.StreamSuite2()->AEGP_DisposeStream(streamH));

   }

   ERR(suites.EffectSuite2()->AEGP_DisposeEffect(meH));

}

 

 

In fact the only thing I didn't manage to do was PF_PUI_NO_ECW_UI since I wanna make a hidden slider that is change on Idle to force re-render, on that iddle I can hide it using

 

ERR(suites.DynamicStreamSuite2()->AEGP_SetDynamicStreamFlag(streamH, AEGP_DynStreamFlag_HIDDEN, TRUE, TRUE));

 

But if the idle hook is not called it is visible

 

Let's continue exploring AE SDK!

 

Thank you so much for your help shachar!


Viewing all articles
Browse latest Browse all 90000

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>