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
path: root/source
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2015-06-18 19:56:11 +0300
committerDalai Felinto <dfelinto@gmail.com>2015-06-18 19:56:11 +0300
commita1e01fda248a9f43e44770e26efee4fc68889932 (patch)
tree31eaad24289fb96dd4e2ca763c41159b24976c82 /source
parente1fd7b9ca95af37d835cd1c53d04966c929c94af (diff)
Fix T45104: RGBA PNG Stereo 3d Anaglyph renders turn all shades of black into alpha in 2.75 RC1
Diffstat (limited to 'source')
-rw-r--r--source/blender/imbuf/intern/stereoimbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/stereoimbuf.c b/source/blender/imbuf/intern/stereoimbuf.c
index f1608f56c0b..3b9da639a86 100644
--- a/source/blender/imbuf/intern/stereoimbuf.c
+++ b/source/blender/imbuf/intern/stereoimbuf.c
@@ -117,7 +117,7 @@ static void imb_stereo3d_write_anaglyph(Stereo3DData *s3d, enum eStereo3dAnaglyp
to[0] = from[r][0];
to[1] = from[g][1];
to[2] = from[b][2];
- to[3] = MAX2(from[0][2], from[0][2]);
+ to[3] = MAX2(from[0][3], from[0][3]);
}
}
}
@@ -154,7 +154,7 @@ static void imb_stereo3d_write_anaglyph(Stereo3DData *s3d, enum eStereo3dAnaglyp
to[0] = from[r][0];
to[1] = from[g][1];
to[2] = from[b][2];
- to[3] = MAX2(from[0][2], from[0][2]);
+ to[3] = MAX2(from[0][3], from[0][3]);
}
}
}