Explorar el Código

Merge pull request #11809 from Listwon/NavigationMesh

Fix LINK/UNLINK console spam with navmeshes
Andreas Haas hace 8 años
padre
commit
fac56895d0
Se han modificado 1 ficheros con 1 adiciones y 5 borrados
  1. 1 5
      scene/3d/navigation.cpp

+ 1 - 5
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<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();