I set up our OCIO config as:

r = nuke.root()
r['customOCIOConfigPath'].setValue(os.environ['OCIO_CONFIG_PATH'])
r['defaultViewerLUT'].setValue('OCIO LUTs')
r['OCIO_config'].setValue('custom')

If I run it in the script editor it works as expected and available
viewerProcesses are updated to whats in the config file.

If I however put it in menu.py instead it still shows the nuke default
viewerProcesses.

How can I trigger a refresh?

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

Reply via email to