aboutsummaryrefslogtreecommitdiff
path: root/scene/3d/path.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-08-21 19:56:08 -0300
committerGitHub2017-08-21 19:56:08 -0300
commit2cc83092498d3b82fa8a3aba37c32ad887d19c2c (patch)
tree4d2def0a62847170a86c3f134f234af8ae45f0b9 /scene/3d/path.cpp
parent92410df24cdf296ad63250274d69b2019996423e (diff)
parent32dd9a9f668db31e348c5ef5bc181cdb91c07299 (diff)
downloadgodot-2cc83092498d3b82fa8a3aba37c32ad887d19c2c.tar.gz
godot-2cc83092498d3b82fa8a3aba37c32ad887d19c2c.tar.zst
godot-2cc83092498d3b82fa8a3aba37c32ad887d19c2c.zip
Diffstat (limited to 'scene/3d/path.cpp')
-rw-r--r--scene/3d/path.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/scene/3d/path.cpp b/scene/3d/path.cpp
index c40f73541..0ca7f96fd 100644
--- a/scene/3d/path.cpp
+++ b/scene/3d/path.cpp
@@ -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) {