Fix for 34703 Mix node (Hue, Saturation) update and rendering error
[blender.git] / source / blender / compositor / operations / COM_MixHueOperation.cpp
index 5688d6b26f0bfc891d25fc285511144cf66bf27a..1fa393bb362d869ebff7f550b4f3858f9985f8cd 100644 (file)
@@ -56,6 +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 {
+                       copy_v3_v3(output, inputColor1);
        }
        output[3] = inputColor1[3];