My plugin starts with something like:
OfxPlugin *OfxGetPlugin(int nth)
{
  if (licenseIsOK())
  {
     switch(nth)
      {
        case 0:
            return &realcameraPlugin;
            break;
        case 1:
            return &realdeepPlugin;
            break;
  }
  else
  {
        return &NotRegisteredPlugin;
  }
  return 0;
}

int OfxGetNumberOfPlugins(void)
{
  if (licenseIsOK())
    return 5;
  else
    return 1;
}

This works fine in others like eyeon but in Nuke the plugin seems to be not
re-scaned and I need to reinstall the plugin after adding my license file
or only one plugin appears.

Any idea about this? Thanks in advance!
_______________________________________________
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