Blender Git Loki
Git Commits -> Revision a9907e2
Revision a9907e2 by Lukas Toenne (depsgraph_refactor) May 11, 2014, 06:46 (GMT) |
Moved relations from generic DepsNode base class into OperationDepsNode. Rationale here is that only relations between operations matter for the final evaluation. Keeping this specific makes it easier to avoid implicit assumptions and confusing upcasts in the evaluation code. Relations between "outer" nodes (ID nodes and components) will be translated directly into relations of their inner operation nodes (this will require fully built operations lists at the time relations are constructed). Higher level relations may be used for debugging purposes, but they are not required for evaluation and should be handled in a separate structure. |
Commit Details:
Full Hash: a9907e2c50f560dc86cce5fc0ca68c488b9a0e68
Parent Commit: fbb263c
Lines Changed: +132, -58
14 Modified Paths:
/source/blender/depsgraph/intern/depsgraph.cpp (+3, -6) (Diff)
/source/blender/depsgraph/intern/depsgraph.h (+8, -8) (Diff)
/source/blender/depsgraph/intern/depsgraph_build.cpp (+15, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph_build.h (+3, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_debug.cpp (+12, -3) (Diff)
/source/blender/depsgraph/intern/depsgraph_eval.cpp (+2, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_query.cpp (+5, -3) (Diff)
/source/blender/depsgraph/intern/depsgraph_tag.cpp (+13, -10) (Diff)
/source/blender/depsgraph/intern/depsnode.cpp (+8, -11) (Diff)
/source/blender/depsgraph/intern/depsnode.h (+8, -9) (Diff)
/source/blender/depsgraph/intern/depsnode_component.cpp (+14, -5) (Diff)
/source/blender/depsgraph/intern/depsnode_component.h (+2, -0) (Diff)
/source/blender/depsgraph/intern/depsnode_operation.cpp (+27, -0) (Diff)
/source/blender/depsgraph/intern/depsnode_operation.h (+12, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph.h (+8, -8) (Diff)
/source/blender/depsgraph/intern/depsgraph_build.cpp (+15, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph_build.h (+3, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_debug.cpp (+12, -3) (Diff)
/source/blender/depsgraph/intern/depsgraph_eval.cpp (+2, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_query.cpp (+5, -3) (Diff)
/source/blender/depsgraph/intern/depsgraph_tag.cpp (+13, -10) (Diff)
/source/blender/depsgraph/intern/depsnode.cpp (+8, -11) (Diff)
/source/blender/depsgraph/intern/depsnode.h (+8, -9) (Diff)
/source/blender/depsgraph/intern/depsnode_component.cpp (+14, -5) (Diff)
/source/blender/depsgraph/intern/depsnode_component.h (+2, -0) (Diff)
/source/blender/depsgraph/intern/depsnode_operation.cpp (+27, -0) (Diff)
/source/blender/depsgraph/intern/depsnode_operation.h (+12, -0) (Diff)