Blender Git Loki

Git Commits -> Revision 570c072

January 20, 2017, 10:36 (GMT)
Depsgraph: Add extra name tag for operation nodes

The idea here is to address issue that name on it's own is not
always unique: for example, when adding driver operations the
name used for nodes is the RNA path (and multiple drivers can
write to different array indices of the path). Basically, now
it's possible to pass extra integer value to distinguish
operations in such cases.

So now we've already switched from sprintf() to construct unique
operation name to pass RNA path and array index.

There should be no functional changes yet, but this work is
required for further work about replacing string with const
char*.

Commit Details:

Full Hash: 570c0720209aed61f2a06f9fbf0fb7cd0297d785
Parent Commit: 1d5833c
Lines Changed: +177, -61

6 Modified Paths:

/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+38, -17) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.h (+12, -6) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+18, -6) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.h (+71, -14) (Diff)
/source/blender/depsgraph/intern/nodes/deg_node_component.cc (+14, -7) (Diff)
/source/blender/depsgraph/intern/nodes/deg_node_component.h (+24, -11) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021