summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-06-03 12:18:28 +0200
committerGitHub <noreply@github.com>2019-06-03 12:18:28 +0200
commit7da9f28035c5caa94ba52da1807dfd95c74bf8c1 (patch)
treef7af9e506ca55ee0325d44028776affbfc3871b1 /scene/resources
parent587c2608c03edf8fb7b44ec02a2d947b62f550c0 (diff)
parent6f31143996d08105fa762aff8612c415673af5c0 (diff)
Merge pull request #29424 from JFonS/add_heightmap_gizmo
Add HeightMapShape mesh in CollisionShape gizmo
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/height_map_shape.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/height_map_shape.cpp b/scene/resources/height_map_shape.cpp
index 8cd271dab0..f763700d52 100644
--- a/scene/resources/height_map_shape.cpp
+++ b/scene/resources/height_map_shape.cpp
@@ -85,6 +85,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();
}
void HeightMapShape::set_map_width(int p_new) {