Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <j.bakker@atmind.nl>2014-09-22 23:20:03 +0400
committerJeroen Bakker <j.bakker@atmind.nl>2014-09-22 23:20:03 +0400
commit7f4f58856569d870a6d0ff338dbd1957d08762d8 (patch)
tree917d92fa525d3332538e78bbd8c468b4616b645a
parent027640188a8ca182266d1b8e827abfa430901341 (diff)
Fix for sunbeams operationblender-tiles
-rw-r--r--source/blender/compositor/operations/COM_SunBeamsOperation.cpp2
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;
}