Fix T45104: RGBA PNG Stereo 3d Anaglyph renders turn all shades of black into alpha in 2.75 RC1
This commit is contained in:
parent
c691ab1572
commit
3a4802ce25
Notes:
blender-bot
2023-06-07 10:31:13 +02:00
Referenced by issue #45104, RGBA PNG Stereo 3d Anaglyph renders turn all shades of black into alpha in 2.75 RC1
|
@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue