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:
-rw-r--r--source/blender/blenloader/intern/readfile.c5
1 files changed, 3 insertions, 2 deletions
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;
}
}