[Bf-blender-cvs] [ca51c1e312b] temp-lanpr-cleanup2: LANPR: File read fixed by adding link_list in direct_link_scene().
YimingWu
noreply at git.blender.org
Wed Nov 6 14:44:45 CET 2019
Commit: ca51c1e312bff8b29025968e2f180a1aa19eb066
Author: YimingWu
Date: Wed Nov 6 21:43:40 2019 +0800
Branches: temp-lanpr-cleanup2
https://developer.blender.org/rBca51c1e312bff8b29025968e2f180a1aa19eb066
LANPR: File read fixed by adding link_list in direct_link_scene().
===================================================================
M source/blender/blenloader/intern/readfile.c
===================================================================
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 665b1f2b2d2..e77b17ec7da 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -7006,6 +7006,13 @@ static void direct_link_scene(FileData *fd, Scene *sce)
}
}
+ sce->lanpr.active_layer = newdataadr(fd, sce->lanpr.active_layer);
+ link_list(fd, &(sce->lanpr.line_layers));
+ for (LANPR_LineLayer *ll = sce->lanpr.line_layers.first; ll; ll = ll->next) {
+ link_list(fd, &ll->components);
+ ll->batch = NULL;
+ ll->shgrp = NULL;
+ }
direct_link_view3dshading(fd, &sce->display.shading);
sce->layer_properties = newdataadr(fd, sce->layer_properties);
More information about the Bf-blender-cvs
mailing list