Re: FxPlug versioning API
Re: FxPlug versioning API
- Subject: Re: FxPlug versioning API
- From: Christoph Vonrhein <email@hidden>
- Date: Wed, 2 May 2007 13:24:12 -0700
Hi Darrin,
On May 1, 2007, at 3:47 PM, Darrin Cardani wrote:
We have a proposal for a plugin versioning API for FxPlug. This
would allow plugins to know which version of their plugin was used
to create an instance. For example, if the user created a document
and applied WhizBangFilter version 1, we would save that "Version
1" information in the project file. If they then upgrade to
WhizBangFilter version 2 and opened up the old project, we would
tell the WhizBangFilter that this particular instance was created
with version 1 of the filter. That would give the filter the option
of:
1) Only displaying those parameters that existed in version 1 and
rendering as if it were version 1
2) Appending new parameters, but with default values that didn't
change the output and rendering as version 2
3) Adding a popup menu item for the user to choose which version
they want the plugin to act like
4) Any other crazy thing you might want to do with version information
This is a great idea. I like that feature and it is quite useful too.
Just the addParameters code snippet should look a little different.
In you example only someone with a newer version of FxPlug SDK would
be able to see the new features of the plugin and people with Motion
2 would not be able to use version 2 of the plugin. (Yes, I know.
You've just posted a quick example.)
You could also access it during render, if you want to preserve
older rendering functionality. (I've tried to make it so you can
access it during any method.)
Very important!!!
You know that Motion and FCP behaves strange when you try to retrieve
a parameter that does not exit. So it is most important to be able to
ask for the version during render to avoid crashes.
-
Christoph
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden