summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorJFonS <joan.fonssanchez@gmail.com>2019-06-03 11:59:55 +0200
committerJFonS <joan.fonssanchez@gmail.com>2019-06-03 11:59:55 +0200
commit6f31143996d08105fa762aff8612c415673af5c0 (patch)
treefd15f160b4c6940b6c1d92e876b86c7d1b49cce9 /scene
parenta25e52fb72dbf86e2af1787704ce6041e7b86799 (diff)
Add HeightMapShape mesh in CollisionShape gizmo
Diffstat (limited to 'scene')
-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) {