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@blender.org>2020-08-05 12:54:18 +0300
committerSergey Sharybin <sergey@blender.org>2020-08-11 13:17:13 +0300
commit6f99dfc0c6032fa5644031f6355ff59e8e10261d (patch)
tree2b874bc3b38617c348a1c1ee51a63c17c56530da /source/blender/blenloader
parentca2c4907fb1af301af59d8c922759e947e2675c7 (diff)
Modifier: Maintain per-modifier session UUID
Allows to keep track of modifiers, which is required, for example, for runtime data preservation in depsgraph.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index e4644ea6e4d..42b97550db1 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -5296,6 +5296,8 @@ static void direct_link_modifiers(BlendDataReader *reader, ListBase *lb, Object
BLO_read_list(reader, lb);
for (md = lb->first; md; md = md->next) {
+ BKE_modifier_session_uuid_generate(md);
+
md->error = NULL;
md->runtime = NULL;