diff --git a/editor/spatial_editor_gizmos.cpp b/editor/spatial_editor_gizmos.cpp index fea050f57..8a1f2f71c 100644 --- a/editor/spatial_editor_gizmos.cpp +++ b/editor/spatial_editor_gizmos.cpp @@ -4481,8 +4481,9 @@ void RoomSpatialGizmo::redraw() { } const Geometry::MeshData &md = _room->_bound_mesh_data; - if (!md.edges.size()) + if (!md.edges.size()) { return; + } Vector lines; Transform tr = _room->get_global_transform();