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

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

View File

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