diff options
-rw-r--r-- | intern/cycles/kernel/shaders/node_vector_curves.osl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/shaders/node_vector_curves.osl b/intern/cycles/kernel/shaders/node_vector_curves.osl index 65a59dec983..f7f7734f4e5 100644 --- a/intern/cycles/kernel/shaders/node_vector_curves.osl +++ b/intern/cycles/kernel/shaders/node_vector_curves.osl @@ -59,7 +59,7 @@ shader node_vector_curves( float Fac = 0.0, output vector VectorOut = vector(0.0, 0.0, 0.0)) { - color c = (VectorIn - vector(min_x, min_x, min_x)) / (max_x - min_x); + vector c = (VectorIn - vector(min_x, min_x, min_x)) / (max_x - min_x); VectorOut[0] = ramp_lookup(ramp, c[0], 0); VectorOut[1] = ramp_lookup(ramp, c[1], 1); |