From f2aa00d2d034e943940d1b3078617eaa1a6efecd Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sun, 21 Nov 2004 11:44:50 +0000 Subject: Bug fix #1859 Appending or Linking data from other file always cleared scene scriptlinks, due to having 1 line of code just on wrong location... is bug since 2.25, so finally something again I didn't recently break in working code :) --- source/blender/blenloader/intern/readfile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/blender/blenloader/intern') diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index c67a0282bf1..ee2c39d2d5a 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -2412,11 +2412,12 @@ static void lib_link_scene(FileData *fd, Main *main) } END_SEQ } + + lib_link_scriptlink(fd, &sce->id, &sce->scriptlink); + sce->id.flag -= LIB_NEEDLINK; } - lib_link_scriptlink(fd, &sce->id, &sce->scriptlink); - sce= sce->id.next; } } -- cgit v1.2.3