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.
This commit is contained in:
parent
7c7a931fed
commit
b6fc21d84f
@ -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)) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user