From 29690f6aec8f31b0e61fb31aff32c16df98ad8c2 Mon Sep 17 00:00:00 2001 From: Emmanuel Barroga Date: Thu, 10 Oct 2019 13:35:00 -0700 Subject: Fixes concaveshape not selecting in viewport This PR resolves the issue of ConcaveShapes not being selectable in the Viewport. --- scene/resources/capsule_shape.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scene/resources/capsule_shape.h') diff --git a/scene/resources/capsule_shape.h b/scene/resources/capsule_shape.h index 6bca53f783..befbc1dcd5 100644 --- a/scene/resources/capsule_shape.h +++ b/scene/resources/capsule_shape.h @@ -44,14 +44,14 @@ protected: virtual void _update_shape(); - virtual Vector _gen_debug_mesh_lines(); - public: void set_radius(float p_radius); float get_radius() const; void set_height(float p_height); float get_height() const; + virtual Vector get_debug_mesh_lines(); + CapsuleShape(); }; -- cgit v1.2.3