imageworks/OpenColorIO — pull request #280 by dbr (2012-10-16 15:33:32+00:00)
Title: OCIOCDLTransform fixes

Fix for the odd `nukescripts.PythonPanel` AttributeError encountered twice in #277, by deferring access to `nukescripts` until the panel is actually called (which will only happen in GUI mode)

Not exactly sure why it would be, but if `ocionuke.cdl` is importing in `init.py`, it'll cause problems - the `nukescript` modules does `if nuke.env['gui']: from PythonPanels import *` or similar (which is kind of annoying)

Also two minor tweaks to the `OCIOCDLTransform` nodes, neither of which really fix anything..

I'll try and fix the problem with the CDL file not being loaded in render-mode - will hopefully add to this pull-request tomorrow..