summaryrefslogtreecommitdiffstats
path: root/scene/3d/path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/path.cpp')
-rw-r--r--scene/3d/path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/path.cpp b/scene/3d/path.cpp
index 5e8ded3867..840f779e5a 100644
--- a/scene/3d/path.cpp
+++ b/scene/3d/path.cpp
@@ -84,7 +84,7 @@ void Path::_bind_methods() {
ClassDB::bind_method(_MD("get_curve:Curve3D","curve"),&Path::get_curve);
ClassDB::bind_method(_MD("_curve_changed"),&Path::_curve_changed);
- ADD_PROPERTY( PropertyInfo( Variant::OBJECT, "curve", PROPERTY_HINT_RESOURCE_TYPE, "Curve3D"), _SCS("set_curve"),_SCS("get_curve"));
+ ADD_PROPERTY( PropertyInfo( Variant::OBJECT, "curve", PROPERTY_HINT_RESOURCE_TYPE, "Curve3D"), "set_curve","get_curve");
}
Path::Path() {