diff options
author | Franklin Sobrinho <franklin_gs@hotmail.com> | 2015-10-19 08:00:41 -0300 |
---|---|---|
committer | Franklin Sobrinho <franklin_gs@hotmail.com> | 2015-10-19 08:03:29 -0300 |
commit | 1e36f36357ce2a44ffbb11276f0ce86a0dfe8606 (patch) | |
tree | dc2648cc9aa3c21346dcf10a1679cad38ae6247d /scene/resources | |
parent | 6637a865187422b5b8303231dd43a38a5f5abd51 (diff) |
Bind missing FixedMaterial constants, fixes #2628
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/material.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scene/resources/material.cpp b/scene/resources/material.cpp index bbb2a386f3..55bb4e9073 100644 --- a/scene/resources/material.cpp +++ b/scene/resources/material.cpp @@ -406,7 +406,6 @@ void FixedMaterial::_bind_methods() { BIND_CONSTANT( PARAM_SHADE_PARAM ); BIND_CONSTANT( PARAM_MAX ); - BIND_CONSTANT( TEXCOORD_SPHERE ); BIND_CONSTANT( TEXCOORD_UV ); BIND_CONSTANT( TEXCOORD_UV_TRANSFORM ); @@ -417,6 +416,11 @@ void FixedMaterial::_bind_methods() { BIND_CONSTANT( FLAG_USE_POINT_SIZE ); BIND_CONSTANT( FLAG_DISCARD_ALPHA ); + BIND_CONSTANT( LIGHT_SHADER_LAMBERT ); + BIND_CONSTANT( LIGHT_SHADER_WRAP ); + BIND_CONSTANT( LIGHT_SHADER_VELVET ); + BIND_CONSTANT( LIGHT_SHADER_TOON ); + } |