Hi Nukers,
There's a quite simple behavior that seems a bit weird (at least for me),
surely a bug (is it known ?)
A Cascading_Pulldown_Choice knob doesn't keep its display after a recreation
(copy/paste or comp reload)
To illustrate, just copy/paste/execute the following snippet
/code/
noop = nuke.createNode("NoOp")
preset_list = ["item1/sub1", "item1/sub2", "item2/sub1", "item2/sub2"]
pulldown = nuke.CascadingEnumeration_Knob("preset", "Preset", preset_list)
noop.addKnob(pulldown)
/code/
Copy/paste the resulting node and examine the new pulldown, it doesn't keep its
cascading structure.
It's now just a simple Pulldown_Choice without cascading capabilities.
Any known workaround ?
Cheers,
philhub
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python