OFX question:

I was hoping to branch a plugin for two different hosts, one being Nuke
And just have two different file path names and just change at Makefile level (e.g.: -DBUILD_NOT_FOR_NUKE)

So during LoadAction I make one fail:

#ifdef BUILD_NOT_FOR_NUKE
    if (RVOfxHost.isNuke())
    {
        return kOfxStatFailed;
    }


doc says:

If a host encounters multiple versions of the same plug-in it should,

 * when creating a brand new instance, always use the version of a
   plug-in with the greatest major and minor version numbers,
 * when loading a setup, always use the plug-in with the major version
   that matches the setup, but has the greatest minor number.

Nuke does read the greatest PLUGIN_VERSION_MINOR
However *I guess doc should say:  assuming they both load*

This seems to work in another host I tried
Is there an alternative approach?

Pierre


_______________________________________________
Nuke-dev mailing list
Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to