-
Notifications
You must be signed in to change notification settings - Fork 163
OpenFX plugin programming guide (Advanced issues)
Some hosts had their OpenFX layer implemented when OFX 1.2, 1.3 or 1.4 were not yet available, and were not updated since. To avoid crashing the plugin on these hosts, when using a property that was introduced after OFX 1.0, be careful that it may not exist. The Plugins/Support library usually takes care of these if you use functions from this library.
On Nuke (and maybe other OFX hosts), when a parameter descriptor is secret or disabled, the parameter instance can never be shown or enabled. For parameters that may be shown but should be secret by default, the kOfxParamPropSecret property should be set in kOfxActionCreateInstance (i.e. in the plugin constructor if using the Support library). Same holds for parameters that should be disabled by default but ma be re-enabled.