Fix T40792: Pack all into and Blender report Missing Files.

Do not check packed files' paths in BKE_bpath_missing_files_check()!
This commit is contained in:
Bastien Montagne 2014-06-29 09:41:02 +02:00
parent b5982f7130
commit 50ca320f57
Notes: blender-bot 2023-02-14 10:26:02 +01:00
Referenced by issue #41231, Cycles 3D Viewport Preview crashes after adjusting nodes.
Referenced by issue #40792, Pack all into and Blender report Missing Files
1 changed files with 2 additions and 1 deletions

View File

@ -94,7 +94,8 @@ static bool checkMissingFiles_visit_cb(void *userdata, char *UNUSED(path_dst), c
/* high level function */
void BKE_bpath_missing_files_check(Main *bmain, ReportList *reports)
{
BKE_bpath_traverse_main(bmain, checkMissingFiles_visit_cb, BKE_BPATH_TRAVERSE_ABS, reports);
BKE_bpath_traverse_main(bmain, checkMissingFiles_visit_cb,
BKE_BPATH_TRAVERSE_ABS | BKE_BPATH_TRAVERSE_SKIP_PACKED, reports);
}
typedef struct BPathRemap_Data {