diff options
| author | Ignacio Etcheverry | 2017-08-20 17:45:01 +0200 |
|---|---|---|
| committer | Ignacio Etcheverry | 2017-08-20 22:07:43 +0200 |
| commit | 32dd9a9f668db31e348c5ef5bc181cdb91c07299 (patch) | |
| tree | 66d9628611d85ca80f314ee9a65777880ee5ef11 /scene/3d/reflection_probe.cpp | |
| parent | f6c39830cb7cf0d664bdfa25642b333a1249b96f (diff) | |
| download | godot-32dd9a9f668db31e348c5ef5bc181cdb91c07299.tar.gz godot-32dd9a9f668db31e348c5ef5bc181cdb91c07299.tar.zst godot-32dd9a9f668db31e348c5ef5bc181cdb91c07299.zip | |
ClassDB: Provide the enum name of integer constants
Diffstat (limited to 'scene/3d/reflection_probe.cpp')
| -rw-r--r-- | scene/3d/reflection_probe.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/reflection_probe.cpp b/scene/3d/reflection_probe.cpp index 0dc5b58e4..194146b6b 100644 --- a/scene/3d/reflection_probe.cpp +++ b/scene/3d/reflection_probe.cpp @@ -252,8 +252,8 @@ void ReflectionProbe::_bind_methods() { ADD_PROPERTY(PropertyInfo(Variant::REAL, "interior_ambient_energy", PROPERTY_HINT_RANGE, "0,16,0.01"), "set_interior_ambient_energy", "get_interior_ambient_energy"); ADD_PROPERTY(PropertyInfo(Variant::REAL, "interior_ambient_contrib", PROPERTY_HINT_RANGE, "0,1,0.01"), "set_interior_ambient_probe_contribution", "get_interior_ambient_probe_contribution"); - BIND_CONSTANT(UPDATE_ONCE); - BIND_CONSTANT(UPDATE_ALWAYS); + BIND_ENUM_CONSTANT(UPDATE_ONCE); + BIND_ENUM_CONSTANT(UPDATE_ALWAYS); } ReflectionProbe::ReflectionProbe() { |
