diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-31 17:04:17 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-31 19:07:55 +0300 |
commit | 3352dd3a3f4c3deadd6d66068f983a639896446a (patch) | |
tree | b814613e7b4615d0111e54923f494499efc23f73 /source/blender/blenkernel/intern | |
parent | 126e6c8e1d2babc69795211e949d7fc03a81639e (diff) |
Depsgraph: Remove unused flags
They are no longer needed after the active depsgraph concept is here.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/anim_sys.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/blenkernel/intern/anim_sys.c b/source/blender/blenkernel/intern/anim_sys.c index 0af61623cdc..f73fc9739b0 100644 --- a/source/blender/blenkernel/intern/anim_sys.c +++ b/source/blender/blenkernel/intern/anim_sys.c @@ -2956,13 +2956,6 @@ void BKE_animsys_eval_animdata(Depsgraph *depsgraph, ID *id) */ DEG_debug_print_eval_time(depsgraph, __func__, id->name, id, ctime); short recalc = ADT_RECALC_ANIM; - const Scene *scene_eval = DEG_get_evaluated_scene(depsgraph); - /* If animation component is directly tagged for update, we always apply f-curves. */ - if (((scene_eval->id.recalc & ID_RECALC_TIME) == 0) && - (id->recalc & ID_RECALC_TIME) == 0) - { - recalc |= ADT_RECALC_CHECK_ORIG_DNA; - } BKE_animsys_evaluate_animdata(depsgraph, scene, id, adt, ctime, recalc); } |