diff options
Diffstat (limited to 'scene/resources/shape_3d.cpp')
-rw-r--r-- | scene/resources/shape_3d.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/resources/shape_3d.cpp b/scene/resources/shape_3d.cpp index 110543723c..59766f4f1f 100644 --- a/scene/resources/shape_3d.cpp +++ b/scene/resources/shape_3d.cpp @@ -58,8 +58,9 @@ void Shape3D::set_margin(real_t p_margin) { } Ref<ArrayMesh> Shape3D::get_debug_mesh() { - if (debug_mesh_cache.is_valid()) + if (debug_mesh_cache.is_valid()) { return debug_mesh_cache; + } Vector<Vector3> lines = get_debug_mesh_lines(); |