[Bf-blender-cvs] [35430988c17] lanpr-under-gp: LANPR: Fix Append segfault by removing BLO_expand() for a wrong pointer.

YimingWu noreply at git.blender.org
Sun Jun 28 14:53:42 CEST 2020


Commit: 35430988c171558211562febef67232e141ff70a
Author: YimingWu
Date:   Sun Jun 28 20:53:36 2020 +0800
Branches: lanpr-under-gp
https://developer.blender.org/rB35430988c171558211562febef67232e141ff70a

LANPR: Fix Append segfault by removing BLO_expand() for a wrong pointer.

===================================================================

M	source/blender/blenloader/intern/readfile.c

===================================================================

diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index f5a4b5c0b43..49ebc9f4f69 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -10792,8 +10792,6 @@ static void expand_collection(BlendExpander *expander, Collection *collection)
     BLO_expand(expander, child->collection);
   }
 
-  BLO_expand(expander, collection->lineart->target);
-
 #ifdef USE_COLLECTION_COMPAT_28
   if (collection->collection != NULL) {
     expand_scene_collection(expander, collection->collection);



More information about the Bf-blender-cvs mailing list