Hi,

Has anyone else noticed that a Camera2 node's xform_order and rot_order
knobs don't hold the nuke.DISABLE flag?

1) Create a Camera node and open its properties.
2) Select it, then:

n = nuke.selectedNode()
n['xform_order'].setFlag(nuke.DISABLED)
n['rot_order'].setFlag(nuke.DISABLED)

OR

n['xform_order'].setEnabled(False)
n['rot_order'].setEnabled(False)

...and those two knobs dim.

3) Tweak any other knob, like translate x.

... the transform order and rotation order knobs re-enable. The weird thing
is, it's just these two knobs. Other enumeration knobs, like
'projection_mode', disable just fine.

What's more, it appears enum knobs can't hold the nuke.READ_ONLY flag.

Huh? Bug?

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

Reply via email to