diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-10-06 13:18:15 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-10-08 12:02:22 +0300 |
commit | fda1db5ba41a70497881332f93e4eb366be47fcc (patch) | |
tree | 4e33fa5df5f7b0094b85c76b98036db64cfc6262 /source/blender/depsgraph | |
parent | ae777b0764aa0c8ec3c99eb41e0e6fbae197959f (diff) |
Depsgraph: Cleanup, de-duplicate time source tagging
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_eval.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_eval.cc b/source/blender/depsgraph/intern/depsgraph_eval.cc index b2b7d2a9d00..665a32b886c 100644 --- a/source/blender/depsgraph/intern/depsgraph_eval.cc +++ b/source/blender/depsgraph/intern/depsgraph_eval.cc @@ -73,7 +73,7 @@ void DEG_evaluate_on_framechange(Main *bmain, Depsgraph *graph, float ctime) /* Update time on primary timesource. */ DEG::TimeSourceNode *tsrc = deg_graph->find_time_source(); tsrc->cfra = ctime; - tsrc->tag_update(deg_graph, DEG::DEG_UPDATE_SOURCE_TIME); + deg_graph->need_update_time = true; DEG::deg_graph_flush_updates(bmain, deg_graph); /* Update time in scene. */ if (deg_graph->scene_cow) { |