diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-07-22 23:59:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-07-22 23:59:07 +0400 |
commit | 3f53c33d4abd1dfb3bc32e96fce83d7bbe63b902 (patch) | |
tree | 7abfdb6325368e8deed24c2e1d761a8d9c35e021 /source/blender/compositor/operations/COM_ConvertColorToValueProg.cpp | |
parent | 6e98932e90df7575f371f492f31b0f7f9da713fa (diff) |
fix [#36248] Crash using factor input on color mix node.
Diffstat (limited to 'source/blender/compositor/operations/COM_ConvertColorToValueProg.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_ConvertColorToValueProg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_ConvertColorToValueProg.cpp b/source/blender/compositor/operations/COM_ConvertColorToValueProg.cpp index 3a65519864a..44e751d1cae 100644 --- a/source/blender/compositor/operations/COM_ConvertColorToValueProg.cpp +++ b/source/blender/compositor/operations/COM_ConvertColorToValueProg.cpp @@ -37,7 +37,7 @@ void ConvertColorToValueProg::initExecution() void ConvertColorToValueProg::executePixel(float output[4], float x, float y, PixelSampler sampler) { float inputColor[4]; - this->m_inputOperation->read(&inputColor[0], x, y, sampler); + this->m_inputOperation->read(inputColor, x, y, sampler); output[0] = (inputColor[0] + inputColor[1] + inputColor[2]) / 3.0f; } |