Merged changes in the trunk up to revision 42116.
[blender.git] / source / blender / nodes / texture / nodes / node_texture_proc.c
index fac8b02fb85391d875d02c83bbac0902b330b1e2..efc8228c01c1f819f159f267e64d1ab9d302aa95 100644 (file)
@@ -79,7 +79,7 @@ static void do_proc(float *result, TexParams *p, float *col1, float *col2, char
        }
        else {
                copy_v4_v4(result, col1);
-               ramp_blend(MA_RAMP_BLEND, result, result+1, result+2, texres.tin, col2);
+               ramp_blend(MA_RAMP_BLEND, result, texres.tin, col2);
        }
 }