Blender Git Loki

Git Commits -> Revision 6dc979e

Revision 6dc979e by Omar Emara (master)
January 18, 2020, 17:19 (GMT)
Cycles: Suppress OSL normalize function warnings.

This patch suppress the OSL warnings resulted from ambiguous calls
to the normalize function. This is done by casting to the vector
type before normalizing.

Reviewed By: Brecht

Differential Revision: https://developer.blender.org/D6621

Commit Details:

Full Hash: 6dc979e2f96caa44fdbd3728fca324948d8c6001
Parent Commit: 9663831
Lines Changed: +3, -3

3 Modified Paths:

/intern/cycles/kernel/shaders/node_ies_light.osl (+1, -1) (Diff)
/intern/cycles/kernel/shaders/node_mapping.osl (+1, -1) (Diff)
/intern/cycles/kernel/shaders/node_voronoi_texture.osl (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021