Fix T45104: RGBA PNG Stereo 3d Anaglyph renders turn all shades of black into alpha in 2.75 RC1

This commit is contained in:
Dalai Felinto 2015-06-18 13:56:11 -03:00
parent e1fd7b9ca9
commit a1e01fda24
Notes: blender-bot 2023-02-14 09:00:17 +01:00
Referenced by issue #45175, Internal / Cycles parent with particle system render mismatch
Referenced by issue #45117, Dark dupliface objects in viewport
Referenced by issue #45104, RGBA PNG Stereo 3d Anaglyph renders turn all shades of black into alpha in 2.75 RC1
1 changed files with 2 additions and 2 deletions

View File

@ -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]);
}
}
}