1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

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

@@ -283,10 +283,10 @@ void PathFollow::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_loop", "loop"), &PathFollow::set_loop);
ClassDB::bind_method(D_METHOD("has_loop"), &PathFollow::has_loop);
BIND_CONSTANT(ROTATION_NONE);
BIND_CONSTANT(ROTATION_Y);
BIND_CONSTANT(ROTATION_XY);
BIND_CONSTANT(ROTATION_XYZ);
BIND_ENUM_CONSTANT(ROTATION_NONE);
BIND_ENUM_CONSTANT(ROTATION_Y);
BIND_ENUM_CONSTANT(ROTATION_XY);
BIND_ENUM_CONSTANT(ROTATION_XYZ);
}
void PathFollow::set_offset(float p_offset) {