diff options
author | Bartłomiej T. Listwon <blistwon@gmail.com> | 2017-10-03 19:51:26 +0200 |
---|---|---|
committer | Gilles Roudiere <gilles.roudiere@laas.fr> | 2017-10-06 13:36:15 +0200 |
commit | 7430bbdac17bdc615e7dc15d9382fd43de4cb521 (patch) | |
tree | b507ef9f9bef0b7b1521e3f3f75515427dcf81a6 | |
parent | 3926c9e89343ef7adc30d7848ba59c1a5282bada (diff) |
Fix LINK/UNLINK console spam with navmeshes
Removed unnecessary debug messages. Fixes #10804
-rw-r--r-- | scene/3d/navigation.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/scene/3d/navigation.cpp b/scene/3d/navigation.cpp index d8c7a78648..b226cca02b 100644 --- a/scene/3d/navigation.cpp +++ b/scene/3d/navigation.cpp @@ -35,8 +35,6 @@ void Navigation::_navmesh_link(int p_id) { NavMesh &nm = navmesh_map[p_id]; ERR_FAIL_COND(nm.linked); - print_line("LINK"); - PoolVector<Vector3> 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<Polygon>::Element *E = nm.polygons.front(); E; E = E->next()) { Polygon &p = E->get(); |