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-11-28 19:09:36 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-11-29 13:01:08 +0300
commit3478d66b285b44de3a36a14db7436254bab84995 (patch)
tree9d62154ad44ce6b0fb2d2ec9a9f0fc3468c8fb75 /source/blender/blenkernel/intern
parenta6b6689c0ab769bfdf4db932e4afd75ac0d42e10 (diff)
Depsgraph: Remove object-specific flag which was storing update tag
There were following issues: - This was used in a similar way of DEG's ID update callback. No reason to have yet-another-way of informing editors/engines about changes. Better to keep regular update mechanism usable and fast for those needs. - It wasn't granular at all, and granularity in flags is something what we need to support anyway, even for existing ID update. - There is no reason to have it per-object. Depsgraph operates on IDs. - It wasn't clear when and who clears the flag, and was possible to run into conflicts.
Diffstat (limited to 'source/blender/blenkernel/intern')
-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 107e9299740..3795e1bbf0e 100644
--- a/source/blender/blenkernel/intern/object.c
+++ b/source/blender/blenkernel/intern/object.c
@@ -467,8 +467,6 @@ void BKE_object_free(Object *ob)
}
BLI_freelistN(&ob->drawdata);
- ob->deg_update_flag = 0;
-
BKE_sculptsession_free(ob);
BLI_freelistN(&ob->pc_ids);