diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-30 19:11:21 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-30 19:11:21 +0300 |
commit | 6510e4050089451fcb1182f9553f2609377fbbcd (patch) | |
tree | fcf4d8bf3f14d272a57d55ff77d23c1e0cd3c47b /source | |
parent | 21db9fff125410d05f17a6663c0e8be583b5f98f (diff) |
Fix T45240: New depsgraph ignores animation applied on the curve data
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_build_relations.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_build_relations.cc b/source/blender/depsgraph/intern/depsgraph_build_relations.cc index 8ee113ec341..9bd448aa51c 100644 --- a/source/blender/depsgraph/intern/depsgraph_build_relations.cc +++ b/source/blender/depsgraph/intern/depsgraph_build_relations.cc @@ -1690,6 +1690,10 @@ void DepsgraphRelationBuilder::build_obdata_geom(Main *bmain, Scene *scene, Obje ComponentKey parameters_key(obdata, DEPSNODE_TYPE_PARAMETERS); add_relation(animation_key, parameters_key, DEPSREL_TYPE_COMPONENT_ORDER, "Geom Parameters"); + /* Evaluation usually depends on animation. + * TODO(sergey): Need to re-hook it after granular update is implemented.. + */ + add_relation(animation_key, obdata_geom_eval_key, DEPSREL_TYPE_GEOMETRY_EVAL, "Animation"); } } |