diff --git a/scene/debugger/scene_debugger.cpp b/scene/debugger/scene_debugger.cpp index 37d17b84000..334b722305b 100644 --- a/scene/debugger/scene_debugger.cpp +++ b/scene/debugger/scene_debugger.cpp @@ -2768,15 +2768,15 @@ void RuntimeNodeSelect::_find_3d_items_at_rect(const Rect2 &p_rect, Vector node_list; + #ifndef PHYSICS_3D_DISABLED Vector points = Geometry3D::compute_convex_mesh_points(&frustum[0], frustum.size()); Ref shape; shape.instantiate(); shape->set_points(points); - // Keep track of the currently listed nodes, so repeats can be ignored. - HashSet node_list; - // Start with physical objects. PhysicsDirectSpaceState3D *ss = root->get_world_3d()->get_direct_space_state(); PhysicsDirectSpaceState3D::ShapeResult results[32];