diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2014-09-22 23:20:03 +0400 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2014-09-22 23:20:03 +0400 |
commit | 7f4f58856569d870a6d0ff338dbd1957d08762d8 (patch) | |
tree | 917d92fa525d3332538e78bbd8c468b4616b645a | |
parent | 027640188a8ca182266d1b8e827abfa430901341 (diff) |
Fix for sunbeams operationblender-tiles
-rw-r--r-- | source/blender/compositor/operations/COM_SunBeamsOperation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_SunBeamsOperation.cpp b/source/blender/compositor/operations/COM_SunBeamsOperation.cpp index f032f175bf0..91b6e9c9d7d 100644 --- a/source/blender/compositor/operations/COM_SunBeamsOperation.cpp +++ b/source/blender/compositor/operations/COM_SunBeamsOperation.cpp @@ -140,7 +140,7 @@ struct BufferLineAccumulator { float falloff_factor; if ((int)pt_ofs[0] == 0 && (int)pt_ofs[1] == 0) { - copy_v4_v4(output, input->getBuffer() + COM_NUMBER_OF_CHANNELS * ((int)source[0] + input->getWidth() * (int)source[1])); + copy_v4_v4(output, input->getBuffer() + COM_NUM_CHANNELS_COLOR * ((int)source[0] + input->getWidth() * (int)source[1])); return; } |