diff --git a/scene/3d/navigation.cpp b/scene/3d/navigation.cpp index b7490b4cba4..020aa348d34 100644 --- a/scene/3d/navigation.cpp +++ b/scene/3d/navigation.cpp @@ -34,9 +34,7 @@ void Navigation::_navmesh_link(int p_id) { ERR_FAIL_COND(!navmesh_map.has(p_id)); NavMesh &nm = navmesh_map[p_id]; ERR_FAIL_COND(nm.linked); - - print_line("LINK"); - + DVector vertices = nm.navmesh->get_vertices(); int len = vertices.size(); if (len == 0) @@ -144,8 +142,6 @@ void Navigation::_navmesh_unlink(int p_id) { NavMesh &nm = navmesh_map[p_id]; ERR_FAIL_COND(!nm.linked); - print_line("UNLINK"); - for (List::Element *E = nm.polygons.front(); E; E = E->next()) { Polygon &p = E->get();