diff options
-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; } } |