diff options
Diffstat (limited to 'source/blender/compositor/operations/COM_MixHueOperation.cpp')
-rw-r--r-- | source/blender/compositor/operations/COM_MixHueOperation.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/compositor/operations/COM_MixHueOperation.cpp b/source/blender/compositor/operations/COM_MixHueOperation.cpp index 1fa393bb362..8f898cf8ecf 100644 --- a/source/blender/compositor/operations/COM_MixHueOperation.cpp +++ b/source/blender/compositor/operations/COM_MixHueOperation.cpp @@ -56,7 +56,8 @@ void MixHueOperation::executePixel(float output[4], float x, float y, PixelSampl output[0] = valuem * (inputColor1[0]) + value * tmpr; output[1] = valuem * (inputColor1[1]) + value * tmpg; output[2] = valuem * (inputColor1[2]) + value * tmpb; - } else { + } + else { copy_v3_v3(output, inputColor1); } output[3] = inputColor1[3]; |