Hi,

I am currently in the process of writing a custom write node. I have had to
use a gizmo to incorporate OCIO functionality.

I have been pulling forward all the format specific knobs - for example dpx
- fill, transfer etc
I am then trying to use callbacks to hide them and then make them visible
on the node depending on when file format is selected.. much like nuke's
read node does.

When I do the following the knobs will disappear fine:

n = nuke.selectedNode()
n['fill'].setVisible(False)
or
n['fill'].setFlag(nuke.INVISIBLE)

Although, when I run the following the knob will not always reappear:


n['fill'].setVisible(True)

or
n['fill'].clearFlag(nuke.INVISIBLE)

I was wondering if anyone had run into the same problem? Or maybe a better
idea on how to incorporate OCIO functionality into writes?

Cheers,
Lars

-- 

Lars Andersen | Nuke Compositor | Pipeline TD

*0432917138*
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to