[Bf-blender-cvs] [ac8f6413ccc] master: Fix usage of lib filepath in previous own commit...
Bastien Montagne
noreply at git.blender.org
Fri Apr 20 11:00:38 CEST 2018
Commit: ac8f6413ccce2efe08f6a9a1a3de3c05c8d0d1d4
Author: Bastien Montagne
Date: Fri Apr 20 11:00:12 2018 +0200
Branches: master
https://developer.blender.org/rBac8f6413ccce2efe08f6a9a1a3de3c05c8d0d1d4
Fix usage of lib filepath in previous own commit...
===================================================================
M source/blender/blenloader/intern/blend_validate.c
===================================================================
diff --git a/source/blender/blenloader/intern/blend_validate.c b/source/blender/blenloader/intern/blend_validate.c
index d44497e3145..d155fcfaa0d 100644
--- a/source/blender/blenloader/intern/blend_validate.c
+++ b/source/blender/blenloader/intern/blend_validate.c
@@ -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;
More information about the Bf-blender-cvs
mailing list