Fix LINK/UNLINK console spam with navmeshes
Removed unnecessary debug messages. Fixes #10804
This commit is contained in:
parent
3926c9e893
commit
7430bbdac1
|
@ -35,8 +35,6 @@ void Navigation::_navmesh_link(int p_id) {
|
||||||
NavMesh &nm = navmesh_map[p_id];
|
NavMesh &nm = navmesh_map[p_id];
|
||||||
ERR_FAIL_COND(nm.linked);
|
ERR_FAIL_COND(nm.linked);
|
||||||
|
|
||||||
print_line("LINK");
|
|
||||||
|
|
||||||
PoolVector<Vector3> vertices = nm.navmesh->get_vertices();
|
PoolVector<Vector3> vertices = nm.navmesh->get_vertices();
|
||||||
int len = vertices.size();
|
int len = vertices.size();
|
||||||
if (len == 0)
|
if (len == 0)
|
||||||
|
@ -144,8 +142,6 @@ void Navigation::_navmesh_unlink(int p_id) {
|
||||||
NavMesh &nm = navmesh_map[p_id];
|
NavMesh &nm = navmesh_map[p_id];
|
||||||
ERR_FAIL_COND(!nm.linked);
|
ERR_FAIL_COND(!nm.linked);
|
||||||
|
|
||||||
print_line("UNLINK");
|
|
||||||
|
|
||||||
for (List<Polygon>::Element *E = nm.polygons.front(); E; E = E->next()) {
|
for (List<Polygon>::Element *E = nm.polygons.front(); E; E = E->next()) {
|
||||||
|
|
||||||
Polygon &p = E->get();
|
Polygon &p = E->get();
|
||||||
|
|
Loading…
Reference in a new issue