Is it possible to use AEGP_RegisterIdleHook in an effect plugin?
What I would like is some way to ensure that sequence data and the UI are synced, in particular in the case of an undo (i.e. by comparing a hidden parameter with sequence data).
All of the examples for AEGP_RegisterIdleHook I have seen seem to be for AEGPs, and are called in EntryPointFunc.
I've managed to set up an idle hook function from globalSetup -- it seeming to be a nonsense to set it up in EffectMain. But I can't work out how to do anything with it, i.e. to send in_data->sequenceData or *params[], to compare them. AEGP_RegisterIdleHook doesn't seem to want to let me pass arguments to idelHookfunction(), the creation of which is also quite restrictive. Is there a way around these restrictions?