Blender Git Loki
Git Commits -> Revision 1d36710
Revision 1d36710 by Lukas Toenne (depsgraph_refactor) March 20, 2014, 13:39 (GMT) |
Fix for invalid template arguments: const char * cannot be used for templates. Instead made a little helper struct TypeInfo inside DepsNode, which can be created statically using simple macros (just to avoid repetitive syntax). This typeinfo is then copied by factories and used to initialize nodes. |
Commit Details:
Full Hash: 1d367102ac7b686cfd2756b5c65110b2f826c072
Parent Commit: bee1f9c
Lines Changed: +42, -18
5 Modified Paths:
/source/blender/depsgraph/intern/depsgraph_core.cpp (+12, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_intern.h (+10, -16) (Diff)
/source/blender/depsgraph/intern/depsgraph_query.cpp (+1, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_types.h (+16, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_type_defines.cpp (+3, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_intern.h (+10, -16) (Diff)
/source/blender/depsgraph/intern/depsgraph_query.cpp (+1, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_types.h (+16, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_type_defines.cpp (+3, -1) (Diff)