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:
authorBastien Montagne <montagne29@wanadoo.fr>2018-04-20 12:00:12 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-04-20 12:00:12 +0300
commitac8f6413ccce2efe08f6a9a1a3de3c05c8d0d1d4 (patch)
tree66801d68a2f1cf8f33072d99359b1dfd184008ee
parent88bbb68ad01bed841fad9ad26a68510f298e6f3b (diff)
Fix usage of lib filepath in previous own commit...
-rw-r--r--source/blender/blenloader/intern/blend_validate.c3
1 files changed, 2 insertions, 1 deletions
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;