diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-10-11 14:55:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-11 14:55:47 +0200 |
commit | 062650860a2b98ab9cd30229f8fddae15209485d (patch) | |
tree | 57400a6de73f10cd7586a6c27cd7ddc561aa7b52 /scene/resources/shape.cpp | |
parent | aad4d8648b4593b5edb479e85984730770e77c70 (diff) | |
parent | 29690f6aec8f31b0e61fb31aff32c16df98ad8c2 (diff) |
Merge pull request #32731 from codecustard/fix_concaveshape_not_selecting
Fixes concaveshape not selecting in viewport
Diffstat (limited to 'scene/resources/shape.cpp')
-rw-r--r-- | scene/resources/shape.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/shape.cpp b/scene/resources/shape.cpp index 6ba46f066c..3500fdb4bc 100644 --- a/scene/resources/shape.cpp +++ b/scene/resources/shape.cpp @@ -37,7 +37,7 @@ void Shape::add_vertices_to_array(PoolVector<Vector3> &array, const Transform &p_xform) { - Vector<Vector3> toadd = _gen_debug_mesh_lines(); + Vector<Vector3> toadd = get_debug_mesh_lines(); if (toadd.size()) { @@ -64,7 +64,7 @@ Ref<ArrayMesh> Shape::get_debug_mesh() { if (debug_mesh_cache.is_valid()) return debug_mesh_cache; - Vector<Vector3> lines = _gen_debug_mesh_lines(); + Vector<Vector3> lines = get_debug_mesh_lines(); debug_mesh_cache = Ref<ArrayMesh>(memnew(ArrayMesh)); |