diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-08-21 19:56:08 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-21 19:56:08 -0300 |
commit | 2cc83092498d3b82fa8a3aba37c32ad887d19c2c (patch) | |
tree | 4d2def0a62847170a86c3f134f234af8ae45f0b9 /servers/arvr | |
parent | 92410df24cdf296ad63250274d69b2019996423e (diff) | |
parent | 32dd9a9f668db31e348c5ef5bc181cdb91c07299 (diff) |
Merge pull request #10351 from neikeq/enums-are-for-the-weak
ClassDB: Provide the enum name of integer constants
Diffstat (limited to 'servers/arvr')
-rw-r--r-- | servers/arvr/arvr_interface.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/servers/arvr/arvr_interface.cpp b/servers/arvr/arvr_interface.cpp index 81eb011932..1f2e6028b0 100644 --- a/servers/arvr/arvr_interface.cpp +++ b/servers/arvr/arvr_interface.cpp @@ -51,9 +51,9 @@ void ARVRInterface::_bind_methods() { ADD_PROPERTY(PropertyInfo(Variant::BOOL, "primary"), "set_is_primary", "is_primary"); - BIND_CONSTANT(EYE_MONO); - BIND_CONSTANT(EYE_LEFT); - BIND_CONSTANT(EYE_RIGHT); + BIND_ENUM_CONSTANT(EYE_MONO); + BIND_ENUM_CONSTANT(EYE_LEFT); + BIND_ENUM_CONSTANT(EYE_RIGHT); }; StringName ARVRInterface::get_name() const { |