diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2011-02-07 12:33:36 +0300 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2011-02-07 12:33:36 +0300 |
commit | 2070356a329969be2287e6f8f7575a7e45d13543 (patch) | |
tree | 47ddc31594db82fb9e888b4ffbd71abadd21460b /source/blender/nodes/intern/SHD_util.h | |
parent | d272b70ee09be8c949247404c9324cfffc833976 (diff) |
A simplified way of defining bNodeType structs. Instead of doing full struct member initialization for each node, this uses a couple of helper functions now. This will make it easier to change and extend the bNodeSocket interface in the future. Two examples (normal and mapping shader nodes) included, the rest should be converted too.
Diffstat (limited to 'source/blender/nodes/intern/SHD_util.h')
-rw-r--r-- | source/blender/nodes/intern/SHD_util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/intern/SHD_util.h b/source/blender/nodes/intern/SHD_util.h index 147291e380a..4134c160f16 100644 --- a/source/blender/nodes/intern/SHD_util.h +++ b/source/blender/nodes/intern/SHD_util.h @@ -51,6 +51,7 @@ #include "BKE_image.h" #include "BKE_main.h" #include "BKE_material.h" +#include "BKE_node.h" #include "BKE_texture.h" #include "BKE_library.h" |