From b6fc21d84f93b0f3ded871651995d21ecaab4341 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 21 Feb 2008 11:14:04 +0000 Subject: [PATCH] Fix for bug #6669: saving an image from the image editor and automatically adding the extension didn't add it to the image file path properly. --- source/blender/src/editsima.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/blender/src/editsima.c b/source/blender/src/editsima.c index 73ff70436f3..7bf54380630 100644 --- a/source/blender/src/editsima.c +++ b/source/blender/src/editsima.c @@ -2005,8 +2005,10 @@ static void save_image_doit(char *name) BLI_convertstringcode(str, G.sce, G.scene->r.cfra); - if(G.scene->r.scemode & R_EXTENSION) + if(G.scene->r.scemode & R_EXTENSION) { BKE_add_image_extension(str, G.sima->imtypenr); + BKE_add_image_extension(name, G.sima->imtypenr); + } if (saveover(str)) {