Cycles: make shader node enums consistently lower case, update OSL shaders accordingly.

This commit is contained in:
Brecht Van Lommel
2016-06-11 21:56:47 +02:00
parent b8112a8960
commit ebdd2e0b6d
22 changed files with 225 additions and 225 deletions

View File

@@ -44,7 +44,7 @@ shader node_environment_texture(
matrix mapping = matrix(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
vector Vector = P,
string filename = "",
string projection = "Equirectangular",
string projection = "equirectangular",
string interpolation = "linear",
string color_space = "sRGB",
int is_float = 1,
@@ -59,7 +59,7 @@ shader node_environment_texture(
p = normalize(p);
if (projection == "Equirectangular")
if (projection == "equirectangular")
p = environment_texture_direction_to_equirectangular(p);
else
p = environment_texture_direction_to_mirrorball(p);