Blender Git Loki

Git Commits -> Revision 465daeb

Revision 465daeb by Lukas Toenne (depsgraph_refactor)
March 26, 2014, 13:05 (GMT)
Moved DepsNode definition from the depsgraph_types file into a number of
dedicated source files.

To reflect the code structure while keeping the number of files small,
there are just 3 node files:
* depsnode: base DepsNode class and main general subtypes (root, idnode,
subgraph, time source)
* depsnode_component: component subclasses ("outer" nodes)
* depsnode_operation: operation subclasses ("inner" nodes)

The depsgraph_types.h header still contains a number of general enums
for the node subtypes, since this is needed in a number of other class
declarations (Depsgraph) as function arguments. Don't want to include
the full class definitions there to keep header dependencies at a
minimum.

Commit Details:

Full Hash: 465daeb9c070900ae6be2a14168be14d21d7b52a
Parent Commit: ad37fa3
Lines Changed: +1521, -1202

6 Added Paths:

/source/blender/depsgraph/intern/depsnode.cpp (+368, -0) (View)
/source/blender/depsgraph/intern/depsnode.h (+212, -0) (View)
/source/blender/depsgraph/intern/depsnode_component.cpp (+370, -0) (View)
/source/blender/depsgraph/intern/depsnode_component.h (+141, -0) (View)
/source/blender/depsgraph/intern/depsnode_operation.cpp (+242, -0) (View)
/source/blender/depsgraph/intern/depsnode_operation.h (+149, -0) (View)

10 Modified Paths:

/source/blender/depsgraph/CMakeLists.txt (+6, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph.cpp (+5, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph.h (+8, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_build.cpp (+3, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_debug.cpp (+3, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_eval.cpp (+3, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_intern.h (+1, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_query.cpp (+3, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_types.h (+7, -382) (Diff)
/source/blender/depsgraph/intern/depsgraph_type_defines.cpp (+0, -820) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021