Blender Git Loki
Git Commits -> Revision bfa97b4
Revision bfa97b4 by Lukas Toenne (master) May 8, 2013, 15:40 (GMT) |
Workaround for C nodes: In order to make registerable RNA methods of the standard C nodes (e.g. poll or draw_buttons) available in python scripts, they need a specialized Node subtype (called NodeInternal). This is necessary because bpy omits any registerable functions of RNA types in the generated python classes, relying instead on using the supposed native implementation in a registered python class. Since the standard shader/compositor/texture nodes in Blender are not registered but directly created in makesrna they lack all registerable function in the associated python types. The NodeInternal RNA subtype replaces the registerable functions of the base Node type to solve this issue. |
Commit Details:
Full Hash: bfa97b471065868657b98655806daa653e33df95
SVN Revision: 56586
Parent Commit: 6fe753c
Lines Changed: +113, -6