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:
authorClément Foucault <foucault.clem@gmail.com>2017-05-30 23:28:47 +0300
committerClément Foucault <foucault.clem@gmail.com>2017-05-30 23:30:16 +0300
commite7fb013a60dd91caef1b1dd80f52b3996f06a21c (patch)
treeca9ec934203b7cc5e48f2fbc65b982487be91323 /source/blender/blenloader
parentff0210319480ac9a77897bed716088a0bc18cd35 (diff)
Draw Manager: Add SceneLayerEngineData and use callbacks to clear runtime engine data
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 2b27148a3a8..d22af275469 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -6265,6 +6265,8 @@ static void direct_link_scene(FileData *fd, Scene *sce)
}
sl->properties_evaluated = NULL;
+
+ BLI_listbase_clear(&sl->drawdata);
}
sce->collection_properties = newdataadr(fd, sce->collection_properties);