From 7430bbdac17bdc615e7dc15d9382fd43de4cb521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20T=2E=20Listwon?= Date: Tue, 3 Oct 2017 19:51:26 +0200 Subject: [PATCH] Fix LINK/UNLINK console spam with navmeshes Removed unnecessary debug messages. Fixes #10804 --- scene/3d/navigation.cpp | 4 ---- 1 file changed, 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 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();