diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-04-12 15:43:21 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-04-12 15:43:21 +0400 |
commit | 09a82f413d5a0acd656be9e9c5195a4ebf13dec6 (patch) | |
tree | ec1f75163bf9ef2fc5be379d57c0ba2ea0decb2d /source/blender/blenkernel/intern/pointcache.c | |
parent | 0d86c3f84c22aadad8719492ca27a7c9e88d2996 (diff) |
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.
Diffstat (limited to 'source/blender/blenkernel/intern/pointcache.c')
0 files changed, 0 insertions, 0 deletions