add debug message when loading a way

This commit is contained in:
glax 2024-07-29 01:33:27 +02:00
parent cb2510a2a1
commit 25069630a7

View File

@ -95,6 +95,7 @@ namespace astar
graph.ConcatGraph(Graph.FromGraph(rl.LoadRegionFromNodeId(neighborId)));
if (!graph.ContainsWay(wayId.Key))
{
logger?.LogDebug("Loading way... This will be slow.");
foreach (global::Graph.Graph? g in rl.LoadRegionsFromWayId(wayId.Key))
graph.ConcatGraph(Graph.FromGraph(g));
}