summaryrefslogtreecommitdiffstats
path: root/scene/resources/height_map_shape.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/height_map_shape.cpp')
-rw-r--r--scene/resources/height_map_shape.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/height_map_shape.cpp b/scene/resources/height_map_shape.cpp
index fa45ddcabb..34f5ed8558 100644
--- a/scene/resources/height_map_shape.cpp
+++ b/scene/resources/height_map_shape.cpp
@@ -89,7 +89,7 @@ void HeightMapShape::_update_shape() {
d["min_height"] = min_height;
d["max_height"] = max_height;
PhysicsServer::get_singleton()->shape_set_data(get_shape(), d);
- Shape::_update_shape();
+ Shape3D::_update_shape();
}
void HeightMapShape::set_map_width(int p_new) {
@@ -192,7 +192,7 @@ void HeightMapShape::_bind_methods() {
}
HeightMapShape::HeightMapShape() :
- Shape(PhysicsServer::get_singleton()->shape_create(PhysicsServer::SHAPE_HEIGHTMAP)) {
+ Shape3D(PhysicsServer::get_singleton()->shape_create(PhysicsServer::SHAPE_HEIGHTMAP)) {
map_width = 2;
map_depth = 2;