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:
authorTon Roosendaal <ton@blender.org>2004-05-27 21:54:26 +0400
committerTon Roosendaal <ton@blender.org>2004-05-27 21:54:26 +0400
commit993a89e2a5fe4b18807ef623294d34f15f3ad534 (patch)
tree3effd83e98651fd4d1ed7f9598010001a406c99e /source/blender/src/writeimage.c
parent173ecf172af09391c463f43187b62c738a73a338 (diff)
Bug fix 1332
EnvMap render now uses the percentage button for size (f10 buttons). That wasn't implemented yet for saving envmaps....
Diffstat (limited to 'source/blender/src/writeimage.c')
-rw-r--r--source/blender/src/writeimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/writeimage.c b/source/blender/src/writeimage.c
index 27a81b00666..c4dde911d49 100644
--- a/source/blender/src/writeimage.c
+++ b/source/blender/src/writeimage.c
@@ -99,7 +99,7 @@ void BIF_save_envmap(EnvMap *env, char *str)
/* all interactive stuff is handled in buttons.c */
- dx= env->cuberes;
+ dx= (env->cuberes * R.r.size) / 100;
ibuf= IMB_allocImBuf(3*dx, 2*dx, 24, IB_rect, 0);
IMB_rectop(ibuf, env->cube[0]->ibuf,