Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-02-21 14:14:04 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-02-21 14:14:04 +0300
commitb6fc21d84f93b0f3ded871651995d21ecaab4341 (patch)
tree29e818ea2ae96ac53e71fdb1408a0beeb7546457 /source/blender/src/editsima.c
parent7c7a931fed41dcf51e2d537a9157c357f0285955 (diff)
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.
Diffstat (limited to 'source/blender/src/editsima.c')
-rw-r--r--source/blender/src/editsima.c4
1 files changed, 3 insertions, 1 deletions
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)) {