diff options
author | Thomas Herzog <thomas.herzog@mail.com> | 2018-07-16 15:50:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-16 15:50:30 +0200 |
commit | 9eb082004d9d6f9003ca5c0c64e3d5b10b210e60 (patch) | |
tree | 30c7ee7003ecd8e677da3013f3e98b161ed804bd /scene/animation/animation_node_state_machine.cpp | |
parent | 72430b041e4d8e937e4c9c890d121558cf5046b6 (diff) | |
parent | 644da37073dc0530c74e495653ce7aab41f1ee2c (diff) |
Merge pull request #20034 from Faless/master_fixes
Fix server and GDNative in master branch
Diffstat (limited to 'scene/animation/animation_node_state_machine.cpp')
-rw-r--r-- | scene/animation/animation_node_state_machine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/animation/animation_node_state_machine.cpp b/scene/animation/animation_node_state_machine.cpp index c5ad980806..36587a1e91 100644 --- a/scene/animation/animation_node_state_machine.cpp +++ b/scene/animation/animation_node_state_machine.cpp @@ -71,9 +71,9 @@ void AnimationNodeStateMachineTransition::_bind_methods() { ADD_PROPERTY(PropertyInfo(Variant::INT, "priority", PROPERTY_HINT_RANGE, "0,32,1"), "set_priority", "get_priority"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "disabled"), "set_disabled", "is_disabled"); - BIND_CONSTANT(SWITCH_MODE_IMMEDIATE); - BIND_CONSTANT(SWITCH_MODE_SYNC); - BIND_CONSTANT(SWITCH_MODE_AT_END); + BIND_ENUM_CONSTANT(SWITCH_MODE_IMMEDIATE); + BIND_ENUM_CONSTANT(SWITCH_MODE_SYNC); + BIND_ENUM_CONSTANT(SWITCH_MODE_AT_END); } AnimationNodeStateMachineTransition::AnimationNodeStateMachineTransition() { |