Blender Git Commit Log
Git Commits -> Revision 496cf09
Revision 496cf09 by Lukas Toenne (depsgraph_refactor) April 9, 2014, 05:55 (GMT) |
Fix incomplete info for operation keys. Operations are stored by name keys (multiple operations of the same type can exist in the same component, currently e.g. in rigid body components using multiple world build/sync operations). To keep name strings manageable for now use string constants for the existing operations, instead of literals used only in the build methods (compiler then helps avoid mismatches). Every operation type is also directly associated to a specific component type. This was previously done only implicitly via the add_to_graph functions. Now the associated component type is directly accessible from node factory type information, so we can use a simple id+operation name key when building the graph, and don't need hidden factorization inside the graph->find_node method (deprecated code to be removed later). |
Commit Details:
Full Hash: 496cf09718cd85ade18a0453bc44cb5f1b8cda92
Parent Commit: 37166ac
Lines Changed: +49, -25
9 Modified Paths:
/source/blender/depsgraph/intern/depsgraph_build.cpp (+9, -6) (Diff)
/source/blender/depsgraph/intern/depsgraph_build.h (+2, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_intern.h (+2, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_types.h (+8, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_type_defines.cpp (+4, -0) (Diff)
/source/blender/depsgraph/intern/depsnode.cpp (+6, -5) (Diff)
/source/blender/depsgraph/intern/depsnode.h (+2, -1) (Diff)
/source/blender/depsgraph/intern/depsnode_operation.cpp (+12, -12) (Diff)
/source/blender/depsgraph/intern/depsnode_operation.h (+4, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_build.h (+2, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_intern.h (+2, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_types.h (+8, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_type_defines.cpp (+4, -0) (Diff)
/source/blender/depsgraph/intern/depsnode.cpp (+6, -5) (Diff)
/source/blender/depsgraph/intern/depsnode.h (+2, -1) (Diff)
/source/blender/depsgraph/intern/depsnode_operation.cpp (+12, -12) (Diff)
/source/blender/depsgraph/intern/depsnode_operation.h (+4, -0) (Diff)