Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-10-06 13:15:59 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-10-08 12:02:22 +0300
commitae777b0764aa0c8ec3c99eb41e0e6fbae197959f (patch)
tree31cd1193797ea72f85da5ddb0fc67c793caca58b /source/blender/depsgraph/intern/depsgraph_tag.cc
parent95749f5d548c9cd304b2f8399c791c98e431a19e (diff)
Depsgraph: Don't force time update when legacy flag 0 is used
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_tag.cc')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_tag.cc3
1 files changed, 2 insertions, 1 deletions
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)