Fix usage of lib filepath in previous own commit...

This commit is contained in:
Bastien Montagne 2018-04-20 11:00:12 +02:00
parent 88bbb68ad0
commit ac8f6413cc
Notes: blender-bot 2023-02-14 05:59:26 +01:00
Referenced by issue #54749, e5bb234f64 will not compile on Fedora 27 64-bit
1 changed files with 2 additions and 1 deletions

View 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;