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>2021-03-29 12:23:35 +0300
committerSergey Sharybin <sergey@blender.org>2021-03-29 12:37:30 +0300
commit19f1c522696088e9247288abc24bd69b047e52ff (patch)
tree94c91b5a56d136df182b954cb42eb162236d6fa5 /source/blender/blenkernel/intern/object.c
parentf56fddbf9af6a5e41154601ad2074a562fb4cb38 (diff)
Cleanup: Remove no-op id recalc statement
Initially this is a typo when solving merge conflict back in 2017 in commit rBf4140f2c8138. The code was so for 3 years, so it is safer to assume that this is the new expected design. The affected codepath only comes from the BKE_object_modifier_update_subframe() which is discouraged from use and have other issues. Eventually those offending codepaths will be removed completely. The grade-schema for now is more localized: remove ID_RECALC_ALL which seems to be misused and is causing issues like the ones which are described and discussed in T81340. On user level there should be no measurable changes. In fact, no functional changes at all are expected to happen. Reviewed By: sybren Differential Revision: https://developer.blender.org/D9220
Diffstat (limited to 'source/blender/blenkernel/intern/object.c')
-rw-r--r--source/blender/blenkernel/intern/object.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c
index a8224094919..8c5a4966633 100644
--- a/source/blender/blenkernel/intern/object.c
+++ b/source/blender/blenkernel/intern/object.c
@@ -4353,8 +4353,6 @@ void BKE_object_handle_update_ex(Depsgraph *depsgraph,
BKE_object_handle_data_update(depsgraph, scene, ob);
}
- ob->id.recalc &= ID_RECALC_ALL;
-
object_handle_update_proxy(depsgraph, scene, ob, do_proxy_update);
}