summaryrefslogtreecommitdiff
path: root/scene/resources/plane_shape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/plane_shape.cpp')
-rw-r--r--scene/resources/plane_shape.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/plane_shape.cpp b/scene/resources/plane_shape.cpp
index c739d24da8..1814eea66c 100644
--- a/scene/resources/plane_shape.cpp
+++ b/scene/resources/plane_shape.cpp
@@ -80,8 +80,8 @@ Plane PlaneShape::get_plane() const {
void PlaneShape::_bind_methods() {
- ObjectTypeDB::bind_method(_MD("set_plane","plane"),&PlaneShape::set_plane);
- ObjectTypeDB::bind_method(_MD("get_plane"),&PlaneShape::get_plane);
+ ClassDB::bind_method(_MD("set_plane","plane"),&PlaneShape::set_plane);
+ ClassDB::bind_method(_MD("get_plane"),&PlaneShape::get_plane);
ADD_PROPERTY( PropertyInfo(Variant::PLANE,"plane"), _SCS("set_plane"), _SCS("get_plane") );