Blender Git Loki
Git Commits -> Revision 55d8b06
Revision 55d8b06 by Lukas Toenne (depsgraph_refactor) March 26, 2014, 11:04 (GMT) |
Moved DEG_add_new_relation into Depsgraph. Note: This function doesn't take a Depsgraph argument. Currently the ownership for relation instances is shared between the nodes being connected. This is not ideal, it prevents good memory management and leads to ugly corner cases when freeing relations. Eventually relations should be allocated and stored by the Depsgraph, since they only live inside the depsgraph data anyway (ownership is with the graph). |
Commit Details:
Full Hash: 55d8b06d0c3747dc7c49484148d6ba4dc23fb6da
Parent Commit: 21fc7e5
Lines Changed: +71, -73
5 Modified Paths:
/source/blender/depsgraph/intern/depsgraph.cpp (+13, -13) (Diff)
/source/blender/depsgraph/intern/depsgraph.h (+5, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_build.cpp (+45, -45) (Diff)
/source/blender/depsgraph/intern/depsgraph_intern.h (+0, -7) (Diff)
/source/blender/depsgraph/intern/depsgraph_type_defines.cpp (+8, -8) (Diff)
/source/blender/depsgraph/intern/depsgraph.h (+5, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_build.cpp (+45, -45) (Diff)
/source/blender/depsgraph/intern/depsgraph_intern.h (+0, -7) (Diff)
/source/blender/depsgraph/intern/depsgraph_type_defines.cpp (+8, -8) (Diff)