Is it possible to subclass the Group node? I want a node which acts
exactly like a group, just with a different node class


Why? We have a node which might contain a bunch of Read nodes merged
together (and maybe, say, a camera). To a user it is practically a fancy
Read node, but is technically just a Group with a bunch of related
Python callbacks/buttons

While this all works fine, it causes lots of special-case handling
regarding the Group node.. for example the knobChanged callbacks have to
be added with nodeClass="Group", then the callback has to check if
nuke.thisNode() has a specially named knob.

Making the node a gizmo instead of a group would solve this, but this
loses the benefit of being a group (not rebuilding the internal nodes on
each load, easily persisting user modification to the internal nodes)
-- 
ben dickson
2D TD | [email protected]
rising sun pictures | www.rsp.com.au
_______________________________________________
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