[Bf-blender-cvs] [9e0feec0d36] master: Fix T103421: Library weak reference generates "Could not find .blend" errors when "Find Missing Files".
Bastien Montagne
noreply at git.blender.org
Mon Dec 26 09:06:24 CET 2022
Commit: 9e0feec0d36a5d331bda303b27d7b4d66315e62e
Author: Bastien Montagne
Date: Mon Dec 26 16:31:25 2022 +0900
Branches: master
https://developer.blender.org/rB9e0feec0d36a5d331bda303b27d7b4d66315e62e
Fix T103421: Library weak reference generates "Could not find .blend" errors when "Find Missing Files".
Do not consider weak references in `BKE_bpath_missing_files_find`, just
as already done in `BKE_bpath_missing_files_check`.
===================================================================
M source/blender/blenkernel/intern/bpath.c
===================================================================
diff --git a/source/blender/blenkernel/intern/bpath.c b/source/blender/blenkernel/intern/bpath.c
index 95d6121fc13..8accf6b1c9b 100644
--- a/source/blender/blenkernel/intern/bpath.c
+++ b/source/blender/blenkernel/intern/bpath.c
@@ -387,7 +387,7 @@ void BKE_bpath_missing_files_find(Main *bmain,
{
struct BPathFind_Data data = {NULL};
const int flag = BKE_BPATH_FOREACH_PATH_ABSOLUTE | BKE_BPATH_FOREACH_PATH_RELOAD_EDITED |
- BKE_BPATH_FOREACH_PATH_RESOLVE_TOKEN;
+ BKE_BPATH_FOREACH_PATH_RESOLVE_TOKEN | BKE_BPATH_TRAVERSE_SKIP_WEAK_REFERENCES;
data.basedir = BKE_main_blendfile_path(bmain);
data.reports = reports;
More information about the Bf-blender-cvs
mailing list