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/makesdna
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/makesdna')
-rw-r--r--source/blender/makesdna/DNA_object_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index 6187a46dcd7..e39c6c37814 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -326,7 +326,7 @@ typedef struct Object {
struct IDProperty *base_collection_properties; /* used by depsgraph, flushed from base */
ListBase drawdata; /* runtime, ObjectEngineData */
- int deg_update_flag; /* what has been updated in this object */
+ int pad1;
int select_color;
/* Mesh structure createrd during object evaluaiton.