diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-07-01 20:11:44 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-07-01 20:25:25 +0400 |
commit | ecc2e298e8799c568840ead430264304cfc47250 (patch) | |
tree | 5460fbb454bfb6b9fb621ca68643da9ede1b91cf /source/blender/compositor/operations | |
parent | 6c6fa749f6ee0ff7941696973b4b378a321e5709 (diff) |
Fix T40903: Rendering: Alpha Channel is Broken
Diffstat (limited to 'source/blender/compositor/operations')
-rw-r--r-- | source/blender/compositor/operations/COM_RenderLayersProg.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_RenderLayersProg.cpp b/source/blender/compositor/operations/COM_RenderLayersProg.cpp index 7141dd7bf72..06f4f6d77cf 100644 --- a/source/blender/compositor/operations/COM_RenderLayersProg.cpp +++ b/source/blender/compositor/operations/COM_RenderLayersProg.cpp @@ -207,7 +207,12 @@ void RenderLayersAlphaProg::executePixelSampled(float output[4], float x, float zero_v4(output); } else { - doInterpolation(output, x, y, sampler); + float temp[4]; + doInterpolation(temp, x, y, sampler); + output[0] = temp[3]; + output[1] = 0.0f; + output[2] = 0.0f; + output[3] = 0.0f; } } |