Depsgraph: Cleanup, de-duplicate time source tagging

This commit is contained in:
Sergey Sharybin 2019-10-06 12:18:15 +02:00
parent ae777b0764
commit fda1db5ba4
1 changed files with 1 additions and 1 deletions

View File

@ -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) {