Save from OpenFX Plugin

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Golem235

  • Posts: 2
  • Joined: Tue Apr 09, 2019 6:47 am
  • Real Name: Matthias Schumann

Save from OpenFX Plugin

PostThu 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

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 40 guests