Depsgraph: Fix dependency cycle when ID prop drives ID property
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 2 Mar 2018 15:27:31 +0000 (16:27 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 2 Mar 2018 15:27:31 +0000 (16:27 +0100)
commitf76d49ed9504612cc5ba3956b53f920f7c93bd20
tree6249ea25b0506f650e09aedf1a2eec63a0d5edb3
parent411a781491954c226ae1f91a8b2735328d85258e
Depsgraph: Fix dependency cycle when ID prop drives ID property

Introduced explicit ID property node for driers in depsgraph,
so it is clear what is the input for driver, and what is the
output.

This also solved relations builder throwing lots of errors
due to ID property not being found.
source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
source/blender/depsgraph/intern/builder/deg_builder_nodes.h
source/blender/depsgraph/intern/builder/deg_builder_relations.cc
source/blender/depsgraph/intern/depsgraph.cc
source/blender/depsgraph/intern/depsgraph_type_defines.cc
source/blender/depsgraph/intern/depsgraph_types.h