summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartłomiej T. Listwon <blistwon@gmail.com>2017-10-03 19:51:26 +0200
committerGilles Roudiere <gilles.roudiere@laas.fr>2017-10-06 13:36:15 +0200
commit7430bbdac17bdc615e7dc15d9382fd43de4cb521 (patch)
treeb507ef9f9bef0b7b1521e3f3f75515427dcf81a6
parent3926c9e89343ef7adc30d7848ba59c1a5282bada (diff)
Fix LINK/UNLINK console spam with navmeshes
Removed unnecessary debug messages. Fixes #10804
-rw-r--r--scene/3d/navigation.cpp4
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();