[Bf-blender-cvs] [ce54d25fa96] master: Fix T52865: Improve wording of error message when saving packed images fails

Joshua Leung noreply at git.blender.org
Mon Sep 25 14:27:13 CEST 2017


Commit: ce54d25fa961d3021986f6b741c65f99db7bfd41
Author: Joshua Leung
Date:   Tue Sep 26 01:24:13 2017 +1300
Branches: master
https://developer.blender.org/rBce54d25fa961d3021986f6b741c65f99db7bfd41

Fix T52865: Improve wording of error message when saving packed images fails

Make it clear that the packed file could not be saved back out to disk
at the specified path (e.g. destination directory doesn't exist).

===================================================================

M	source/blender/makesrna/intern/rna_image_api.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_image_api.c b/source/blender/makesrna/intern/rna_image_api.c
index 5c706d9d8db..61f1edc0af5 100644
--- a/source/blender/makesrna/intern/rna_image_api.c
+++ b/source/blender/makesrna/intern/rna_image_api.c
@@ -67,7 +67,7 @@
 static void rna_ImagePackedFile_save(ImagePackedFile *imapf, ReportList *reports)
 {
 	if (writePackedFile(reports, imapf->filepath, imapf->packedfile, 0) != RET_OK) {
-		BKE_reportf(reports, RPT_ERROR, "Image could not save packed file to '%s'",
+		BKE_reportf(reports, RPT_ERROR, "Could not save packed file to disk as '%s'",
 		            imapf->filepath);
 	}
 }



More information about the Bf-blender-cvs mailing list