[Bf-python] Python nodes API having issues with inheritance

Dan Eicher dan at trollwerks.org
Tue May 21 07:59:51 CEST 2013


Hi,

>From that (somewhat bizarre) snippet of metaclass voodoo it looks like you
should just be able to to call super().init() down through your chain of
subclasses and it'll eventually get to the wrapped call to create_sockets().

Or, if my metaclass knowledge is up to snuff, you'll end up making multiple
calls to create_sockets() and end up with a whole bunch of extra ones,
dunno really...

Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20130520/d96e98d0/attachment.html>


More information about the Bf-python mailing list