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:
authorCampbell Barton <ideasman42@gmail.com>2012-09-05 05:42:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-05 05:42:52 +0400
commita4b71f4e01227d1d6508d8a5cb02301c19523469 (patch)
tree6b4ccc25835d3ae48a1ebf924be14db2ab5eefd1 /source/blender/blenloader/intern
parent65b214ed04c65dd4f5f7169a8c5c9e06405b5033 (diff)
fix for various redundant checks and possibly fix some crashes in rare situations.
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r--source/blender/blenloader/intern/readfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 5bcd8c35625..04c9d96ea0f 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -9471,9 +9471,9 @@ static void read_libraries(FileData *basefd, ListBase *mainlist)
cleanup_path(G.main->name, mainptr->curlib->filepath);
fd = blo_openblenderfile(mainptr->curlib->filepath, basefd->reports);
- fd->mainlist = mainlist;
-
+
if (fd) {
+ fd->mainlist = mainlist;
printf("found: '%s', party on macuno!\n", mainptr->curlib->filepath);
}
}