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>2006-03-14 20:48:40 +0300
committerTon Roosendaal <ton@blender.org>2006-03-14 20:48:40 +0300
commitfe3506f6d409c39f6e9fddcdf4dc94f454cbae1a (patch)
tree96759c74c170c87cd96df6c6fb2602e1224c850a /source/blender/imbuf/intern/scaling.c
parente3fb99ad70e1f184953724bc376bad17894f7fa8 (diff)
WIP commit on getting the 'render result layers' saved in a single
file. Previous fix accidentally committed parts of that... :) Note: it is currently disabled still... will commit the real version soon.
Diffstat (limited to 'source/blender/imbuf/intern/scaling.c')
-rw-r--r--source/blender/imbuf/intern/scaling.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/imbuf/intern/scaling.c b/source/blender/imbuf/intern/scaling.c
index c461381ba10..a21e5c7b592 100644
--- a/source/blender/imbuf/intern/scaling.c
+++ b/source/blender/imbuf/intern/scaling.c
@@ -466,13 +466,13 @@ static struct ImBuf *scaledownx(struct ImBuf *ibuf, int newx)
add = (ibuf->x - 0.001) / newx;
- rect = (uchar *) ibuf->rect;
- newrect = _newrect;
-
- if (do_float) {
- rectf = ibuf->rect_float;
- newrectf = _newrectf;
- }
+ rect = (uchar *) ibuf->rect;
+ newrect = _newrect;
+
+ if (do_float) {
+ rectf = ibuf->rect_float;
+ newrectf = _newrectf;
+ }
for (y = ibuf->y; y>0 ; y--) {
sample = 0.0f;