[Bf-blender-cvs] [ae777b0764a] master: Depsgraph: Don't force time update when legacy flag 0 is used

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


Commit: ae777b0764aa0c8ec3c99eb41e0e6fbae197959f
Author: Sergey Sharybin
Date:   Sun Oct 6 12:15:59 2019 +0200
Branches: master
https://developer.blender.org/rBae777b0764aa0c8ec3c99eb41e0e6fbae197959f

Depsgraph: Don't force time update when legacy flag 0 is used

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

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

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

diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc
index 2fdce0e30a5..be1ae633cb6 100644
--- a/source/blender/depsgraph/intern/depsgraph_tag.cc
+++ b/source/blender/depsgraph/intern/depsgraph_tag.cc
@@ -462,7 +462,8 @@ const char *update_source_as_string(eUpdateSource source)
 
 int deg_recalc_flags_for_legacy_zero()
 {
-  return ID_RECALC_ALL & ~(ID_RECALC_PSYS_ALL | ID_RECALC_ANIMATION | ID_RECALC_SOURCE);
+  return ID_RECALC_ALL &
+         ~(ID_RECALC_PSYS_ALL | ID_RECALC_ANIMATION | ID_RECALC_SOURCE | ID_RECALC_TIME);
 }
 
 int deg_recalc_flags_effective(Depsgraph *graph, int flags)



More information about the Bf-blender-cvs mailing list