diff options
author | yg2f <yoann@terminajones.com> | 2015-03-25 16:27:55 +0100 |
---|---|---|
committer | yg2f <yoann@terminajones.com> | 2015-03-25 16:27:55 +0100 |
commit | 103ab3bd1a1974655766dc42768f6e603b237c1a (patch) | |
tree | 6ee1458a9de8bbed5641aa36caedf984566f7cec /scene/3d/light.cpp | |
parent | cbad0440ab078e72fcd5af50fa800d9720fb7761 (diff) | |
download | redot-engine-103ab3bd1a1974655766dc42768f6e603b237c1a.tar.gz |
fixes_3d_spot_attenuation
Diffstat (limited to 'scene/3d/light.cpp')
-rw-r--r-- | scene/3d/light.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/light.cpp b/scene/3d/light.cpp index 15e77e5378..037350f99a 100644 --- a/scene/3d/light.cpp +++ b/scene/3d/light.cpp @@ -669,7 +669,7 @@ void SpotLight::_bind_methods() { ADD_PROPERTYI( PropertyInfo( Variant::REAL, "params/attenuation", PROPERTY_HINT_EXP_EASING, "attenuation"), _SCS("set_parameter"), _SCS("get_parameter"), PARAM_ATTENUATION ); ADD_PROPERTYI( PropertyInfo( Variant::REAL, "params/spot_angle", PROPERTY_HINT_RANGE, "0.01,89.9,0.01"), _SCS("set_parameter"), _SCS("get_parameter"), PARAM_SPOT_ANGLE ); - ADD_PROPERTYI( PropertyInfo( Variant::REAL, "params/spot_attenuation", PROPERTY_HINT_EXP_EASING, "attenuation"), _SCS("set_parameter"), _SCS("get_parameter"), PARAM_SPOT_ATTENUATION ); + ADD_PROPERTYI( PropertyInfo( Variant::REAL, "params/spot_attenuation", PROPERTY_HINT_EXP_EASING, "spot_attenuation"), _SCS("set_parameter"), _SCS("get_parameter"), PARAM_SPOT_ATTENUATION ); } |