[Bf-blender-cvs] [fda1db5ba41] master: Depsgraph: Cleanup, de-duplicate time source tagging

Sergey Sharybin noreply at git.blender.org
Tue Oct 8 11:02:27 CEST 2019


Commit: fda1db5ba41a70497881332f93e4eb366be47fcc
Author: Sergey Sharybin
Date:   Sun Oct 6 12:18:15 2019 +0200
Branches: master
https://developer.blender.org/rBfda1db5ba41a70497881332f93e4eb366be47fcc

Depsgraph: Cleanup, de-duplicate time source tagging

===================================================================

M	source/blender/depsgraph/intern/depsgraph_eval.cc

===================================================================

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



More information about the Bf-blender-cvs mailing list