diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-21 14:14:04 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-21 14:14:04 +0300 |
commit | b6fc21d84f93b0f3ded871651995d21ecaab4341 (patch) | |
tree | 29e818ea2ae96ac53e71fdb1408a0beeb7546457 /source/blender/src | |
parent | 7c7a931fed41dcf51e2d537a9157c357f0285955 (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')
-rw-r--r-- | source/blender/src/editsima.c | 4 |
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)) { |