[Bf-blender-cvs] [50ca320] master: Fix T40792: Pack all into and Blender report Missing Files.

Bastien Montagne noreply at git.blender.org
Sun Jun 29 09:42:51 CEST 2014


Commit: 50ca320f57d0d230339b2811a5a18c850c8507a8
Author: Bastien Montagne
Date:   Sun Jun 29 09:41:02 2014 +0200
https://developer.blender.org/rB50ca320f57d0d230339b2811a5a18c850c8507a8

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

Do not check packed files' paths 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 2e15307..dc2d092 100644
--- a/source/blender/blenkernel/intern/bpath.c
+++ b/source/blender/blenkernel/intern/bpath.c
@@ -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 {




More information about the Bf-blender-cvs mailing list