Ported: Print NavMap error only once for invalid NavMesh.- fire

bcd92b8aa0
This commit is contained in:
Relintai 2022-07-29 10:14:05 +02:00
parent 1e747ac9ba
commit 8b63c97000

View File

@ -584,7 +584,7 @@ void NavMap::sync() {
connections[ek].push_back(new_connection); connections[ek].push_back(new_connection);
// The edge is already connected with another edge, skip. // The edge is already connected with another edge, skip.
ERR_PRINT("Attempted to merge a navigation mesh triangle edge with another already-merged edge. This happens when the current `cell_size` is different from the one used to generate the navigation mesh. This will cause navigation problem."); ERR_PRINT_ONCE("Attempted to merge a navigation mesh triangle edge with another already-merged edge. This happens when the current `cell_size` is different from the one used to generate the navigation mesh. This will cause navigation problem.");
} }
} }
} }