From ce54d25fa961d3021986f6b741c65f99db7bfd41 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Tue, 26 Sep 2017 01:24:13 +1300 Subject: 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). --- source/blender/makesrna/intern/rna_image_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '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); } } -- cgit v1.2.3