summaryrefslogtreecommitdiff
path: root/scene/resources/box_shape_3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/box_shape_3d.cpp')
-rw-r--r--scene/resources/box_shape_3d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/box_shape_3d.cpp b/scene/resources/box_shape_3d.cpp
index 69339faf76..e1c8a377c0 100644
--- a/scene/resources/box_shape_3d.cpp
+++ b/scene/resources/box_shape_3d.cpp
@@ -31,7 +31,7 @@
#include "box_shape_3d.h"
#include "servers/physics_server_3d.h"
-Vector<Vector3> BoxShape3D::get_debug_mesh_lines() {
+Vector<Vector3> BoxShape3D::get_debug_mesh_lines() const {
Vector<Vector3> lines;
AABB aabb;
aabb.position = -get_extents();