Merge branch 'blender-v4.3-release'
This commit is contained in:
Submodule lib/windows_arm64 updated: 51572d4e3e...920697b3b1
@@ -218,13 +218,33 @@ bool BKE_bpath_foreach_path_allocated_process(BPathForeachPathData *bpath_data,
|
||||
static bool check_missing_files_foreach_path_cb(BPathForeachPathData *bpath_data,
|
||||
char * /*path_dst*/,
|
||||
size_t /*path_dst_maxncpy*/,
|
||||
|
||||
const char *path_src)
|
||||
{
|
||||
ReportList *reports = (ReportList *)bpath_data->user_data;
|
||||
|
||||
if (!BLI_exists(path_src)) {
|
||||
BKE_reportf(reports, RPT_WARNING, "Path '%s' not found", path_src);
|
||||
ID *owner_id = bpath_data->owner_id;
|
||||
if (owner_id) {
|
||||
if (ID_IS_LINKED(owner_id)) {
|
||||
BKE_reportf(reports,
|
||||
RPT_WARNING,
|
||||
"Path '%s' not found, from linked data-block '%s' (from library '%s')",
|
||||
path_src,
|
||||
owner_id->name,
|
||||
owner_id->lib->runtime.filepath_abs);
|
||||
}
|
||||
else {
|
||||
BKE_reportf(reports,
|
||||
RPT_WARNING,
|
||||
"Path '%s' not found, from local data-block '%s'",
|
||||
path_src,
|
||||
owner_id->name);
|
||||
}
|
||||
}
|
||||
else {
|
||||
BKE_reportf(
|
||||
reports, RPT_WARNING, "Path '%s' not found (no known owner data-block)", path_src);
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user