Blender Git Commit Log

Git Commits -> Revision 09a82f4

Revision 09a82f4 by Lukas Toenne (master)
April 12, 2013, 11:43 (GMT)
Removed a lot of now-unnecessary checks from node RNA. The typeinfo pointers in bNodeTree, bNode and bNodeSocket are now always pointing to valid type structs. If a tree, node or socket has an unknown type at load time it will be pointed to a dummy "UndefinedType" struct instead, which has default settings and allows for nice debugging. Checking if node->typeinfo etc. is NULL is not necessary any more, makes code a lot easier and smaller.

Commit Details:

Full Hash: 09a82f413d5a0acd656be9e9c5195a4ebf13dec6
SVN Revision: 55984
Parent Commit: 0d86c3f
Lines Changed: +7, -231

1 Modified Path:

/source/blender/makesrna/intern/rna_nodetree.c (+7, -231) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021