diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-04-05 19:03:36 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-04-05 19:03:36 +0300 |
commit | 9b8a92b874d30657753d9714d65ec6f16478c2ed (patch) | |
tree | 6de251d6c23884134d3a8a0acc11adffb53ca2ea /source/blender/depsgraph/intern/builder/deg_builder_nodes.h | |
parent | ea0e2f9bd3849b73a29ef1805988fdb0484bc9d4 (diff) |
Depsgraph: Pull indirect dependencies via pchan constraints
Was missing ID looper for pchan constraint.
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_nodes.h')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_nodes.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_nodes.h b/source/blender/depsgraph/intern/builder/deg_builder_nodes.h index 17d2a4ad558..d64aee11536 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_nodes.h +++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes.h @@ -165,6 +165,20 @@ struct DepsgraphNodeBuilder { void build_movieclip(MovieClip *clip); protected: + struct BuilderWalkUserData { + DepsgraphNodeBuilder *builder; + }; + + static void modifier_walk(void *user_data, + struct Object *object, + struct ID **idpoin, + int cb_flag); + + static void constraint_walk(bConstraint *constraint, + ID **idpoin, + bool is_reference, + void *user_data); + /* State which never changes, same for the whole builder time. */ Main *bmain_; Depsgraph *graph_; |