PF_Cmd_SEQUENCE_FLATTEN is sent when my effect is first applied
Hello everyone,
I'm attempting to store some per-instance data with sequence data, but I have encountered several issues when using the sequence.
The most weird problem is that, when I first apply my plugin in a completely new project, the command selector was sent commands in the following order:
1. Global Setup
2. Parameter Setup
3. Sequence Setup
4. Sequence Flatten
5. Sequence Resetup (in the main thread)
6. Sequence Resetup (in another thread)
if I remove my effect and purge the cache, AE will call Sequence Setdown twice, like:
7. Sequence Setdown (in the main thread)
8. Sequence Setdown (in another thread)
The first question is why Sequence Flatten and Resetup are called when first applied to a layer. And then why Sequence Resetup and Sequence Setdown were called twice in different threads. The final question is how to use sequence data correctly.
Thanks.
