diff options
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/kernel/shaders/node_image_texture.osl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/shaders/node_image_texture.osl b/intern/cycles/kernel/shaders/node_image_texture.osl index 96ce39a08c8..9a0f2d054ea 100644 --- a/intern/cycles/kernel/shaders/node_image_texture.osl +++ b/intern/cycles/kernel/shaders/node_image_texture.osl @@ -70,7 +70,7 @@ color image_texture_lookup(string filename, /* Flip the y coordinate, but preserve UDIM tiles. */ float flip_v; if (is_tiled) { - float v_i = (int) v; + float v_i = (int)v; flip_v = v_i + (1.0 - (v - v_i)); } else { |