Bind missing FixedMaterial constants, fixes #2628

This commit is contained in:
Franklin Sobrinho 2015-10-19 08:00:41 -03:00
parent 6637a86518
commit 1e36f36357
1 changed files with 5 additions and 1 deletions

View File

@ -406,7 +406,6 @@ void FixedMaterial::_bind_methods() {
BIND_CONSTANT( PARAM_SHADE_PARAM ); BIND_CONSTANT( PARAM_SHADE_PARAM );
BIND_CONSTANT( PARAM_MAX ); BIND_CONSTANT( PARAM_MAX );
BIND_CONSTANT( TEXCOORD_SPHERE ); BIND_CONSTANT( TEXCOORD_SPHERE );
BIND_CONSTANT( TEXCOORD_UV ); BIND_CONSTANT( TEXCOORD_UV );
BIND_CONSTANT( TEXCOORD_UV_TRANSFORM ); BIND_CONSTANT( TEXCOORD_UV_TRANSFORM );
@ -417,6 +416,11 @@ void FixedMaterial::_bind_methods() {
BIND_CONSTANT( FLAG_USE_POINT_SIZE ); BIND_CONSTANT( FLAG_USE_POINT_SIZE );
BIND_CONSTANT( FLAG_DISCARD_ALPHA ); 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 );
} }