summaryrefslogtreecommitdiffstats
path: root/scene/resources/plane_shape.h
diff options
context:
space:
mode:
authorEmmanuel Barroga <emmanuelbarroga@gmail.com>2019-10-10 13:35:00 -0700
committerEmmanuel Barroga <emmanuelbarroga@gmail.com>2019-10-11 03:42:36 -0700
commit29690f6aec8f31b0e61fb31aff32c16df98ad8c2 (patch)
treef586aa54f6b146b22235d790112ae021ca7ecdd6 /scene/resources/plane_shape.h
parent781e4f8673857b2b318e919ecb780bfad972a5a6 (diff)
downloadredot-engine-29690f6aec8f31b0e61fb31aff32c16df98ad8c2.tar.gz
Fixes concaveshape not selecting in viewport
This PR resolves the issue of ConcaveShapes not being selectable in the Viewport.
Diffstat (limited to 'scene/resources/plane_shape.h')
-rw-r--r--scene/resources/plane_shape.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/plane_shape.h b/scene/resources/plane_shape.h
index 87c367cfde..f853d1966b 100644
--- a/scene/resources/plane_shape.h
+++ b/scene/resources/plane_shape.h
@@ -42,12 +42,12 @@ protected:
static void _bind_methods();
virtual void _update_shape();
- virtual Vector<Vector3> _gen_debug_mesh_lines();
-
public:
void set_plane(Plane p_plane);
Plane get_plane() const;
+ virtual Vector<Vector3> get_debug_mesh_lines();
+
PlaneShape();
};
#endif // PLANE_SHAPE_H