Thu Jul 11, 2019 11:17 am
Hi there,
I'm developing an ofxPlugin. I would like to save the current state of the OFX plugin in Davinci Resolve. So i wrote a routine saveData() that allows me to save the data in Parameter Slots that I fetch via the fetchBooleanParam() or fetchIntParam() methods. Running my routine from inside the function setupAndProcess() works fine.
Now I am looking for a way to save my data not on each render call but only when resolve gets closed or the current project gets closed. So I tried to run my routine from the deconstructor of my plugin class ( which is derivated from OFX::ImageEffect ). But in that case OFX returns with an exception.
Is there a method or some point where I can safely call my saveData() routine when the project gets closed?
thanks in advance