Merge pull request #10351 from neikeq/enums-are-for-the-weak

ClassDB: Provide the enum name of integer constants
This commit is contained in:
Juan Linietsky
2017-08-21 19:56:08 -03:00
committed by GitHub
107 changed files with 2059 additions and 1892 deletions

View File

@ -1278,8 +1278,8 @@ void AnimationPlayer::_bind_methods() {
ADD_SIGNAL(MethodInfo("animation_changed", PropertyInfo(Variant::STRING, "old_name"), PropertyInfo(Variant::STRING, "new_name")));
ADD_SIGNAL(MethodInfo("animation_started", PropertyInfo(Variant::STRING, "name")));
BIND_CONSTANT(ANIMATION_PROCESS_FIXED);
BIND_CONSTANT(ANIMATION_PROCESS_IDLE);
BIND_ENUM_CONSTANT(ANIMATION_PROCESS_FIXED);
BIND_ENUM_CONSTANT(ANIMATION_PROCESS_IDLE);
}
AnimationPlayer::AnimationPlayer() {