Blender Git Loki
Git Commits -> Revision c9eca0c
Revision c9eca0c by Sergey Sharybin (master) November 7, 2016, 10:04 (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: c9eca0c6c9e710b706711872526634bdd95a3ffa
Parent Commit: d872aea
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)
/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)