Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/bpath.c
| Show First 20 Lines • Show All 219 Lines • ▼ Show 20 Lines | |||||
| void BKE_bpath_missing_files_check(Main *bmain, ReportList *reports) | void BKE_bpath_missing_files_check(Main *bmain, ReportList *reports) | ||||
| { | { | ||||
| BKE_bpath_foreach_path_main(&(BPathForeachPathData){ | BKE_bpath_foreach_path_main(&(BPathForeachPathData){ | ||||
| .bmain = bmain, | .bmain = bmain, | ||||
| .callback_function = check_missing_files_foreach_path_cb, | .callback_function = check_missing_files_foreach_path_cb, | ||||
| .flag = BKE_BPATH_FOREACH_PATH_ABSOLUTE | BKE_BPATH_FOREACH_PATH_SKIP_PACKED | | .flag = BKE_BPATH_FOREACH_PATH_ABSOLUTE | BKE_BPATH_FOREACH_PATH_SKIP_PACKED | | ||||
| BKE_BPATH_FOREACH_PATH_RESOLVE_TOKEN | BKE_BPATH_TRAVERSE_SKIP_WEAK_REFERENCES, | BKE_BPATH_FOREACH_PATH_RESOLVE_TOKEN | BKE_BPATH_TRAVERSE_SKIP_WEAK_REFERENCES, | ||||
| .user_data = reports}); | .user_data = reports}); | ||||
| if (BLI_listbase_is_empty(&reports->list)) { | |||||
| BKE_reportf(reports, RPT_INFO, "No missing files"); | |||||
| } | |||||
| } | } | ||||
| /** \} */ | /** \} */ | ||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name Find Missing Files | /** \name Find Missing Files | ||||
| * \{ */ | * \{ */ | ||||
| ▲ Show 20 Lines • Show All 417 Lines • Show Last 20 Lines | |||||