Merge branch 'master' into blender2.8
authorBastien Montagne <montagne29@wanadoo.fr>
Fri, 20 Apr 2018 09:01:29 +0000 (11:01 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Fri, 20 Apr 2018 09:01:29 +0000 (11:01 +0200)
source/blender/blenloader/intern/blend_validate.c

index d44497e3145e1f8619babe017bf83e1fad5934c6..d155fcfaa0df933b74e4c68374826bc114a284c1 100644 (file)
@@ -81,7 +81,8 @@ bool BLO_main_validate_libraries(struct Main *bmain, struct ReportList *reports)
                        continue;
                }
 
-               BlendHandle *bh = BLO_blendhandle_from_file(curlib->name, reports);
+               BKE_library_filepath_set(curlib, curlib->name);
+               BlendHandle *bh = BLO_blendhandle_from_file(curlib->filepath, reports);
 
                if (bh == NULL) {
                        continue;