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>2017-12-01 14:14:55 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-12-01 14:17:23 +0300
commita96e97a83ff5b8ea94e9d768f53ae02c6d51d64f (patch)
tree59a70dbe087f84eeede24c149319474fb9fae53b /source/blender/depsgraph/intern/depsgraph_tag.cc
parent9bbffd4e023212b7d31c46ba9a5d7d0cdee8353a (diff)
Depsgraph: Move away from setting old deprecated object recalc flags
Those shouldn't be used anywhere for real now.
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_tag.cc')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_tag.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc
index dd8b643d1c3..e928da58e87 100644
--- a/source/blender/depsgraph/intern/depsgraph_tag.cc
+++ b/source/blender/depsgraph/intern/depsgraph_tag.cc
@@ -111,11 +111,6 @@ void lib_id_recalc_tag_flag(Main *bmain, ID *id, int flag)
* after relations update and after layer visibility changes.
*/
if (flag) {
- ID_Type id_type = GS(id->name);
- if (id_type == ID_OB) {
- Object *object = (Object *)id;
- object->recalc |= (flag & OB_RECALC_ALL);
- }
if (flag & OB_RECALC_OB) {
lib_id_recalc_tag(bmain, id);
}