Animated spinner works in test project but will not work in my plugin project
-
@pcs800 can you send me your project?
-
I found a work around to control animations, I load a macro1 LFO and connect it to a dummy slider, then I load my film strip image as a knob and link the dummy to the image strip, that way if I want to change the speed and waveform action I can! It works 100%!
-
@David-Healey that is kind of you David, thank you. I will do that tomorrow.
-
@David-Healey I sent a link to you in chat.
-
@young60 Thanks, I may try that.
-
It's working here when I load your project and make the panel visible. How are you testing it?
-
@David-Healey press reference, then target, then clone. It should appear during the clone process
-
@pcs800 Put
Console.print(spinnerFrame);inside the panel's timer callback and you'll see the timer stops as soon as you press clone. I'm guessing there is something in your clone action that is blocking the UI thread. -
@David-Healey How can I find out what is blocking it? I really need this to work, unless the method given by @young60 is easier than troubleshooting this issue.
-
@pcs800 said in Animated spinner works in test project but will not work in my plugin project:
How can I find out what is blocking it?
A couple of things you could try
- Comment out bits of the code until the problem goes away.
- Try to make a minimal test project that runs a dummy clone action.
-
@young60 how did you connect the LFO to the macro, and how did you link the dummy slider to the filmstrip knob?
Can you provide a snippet?