add debug message when loading a way
This commit is contained in:
parent
cb2510a2a1
commit
25069630a7
@ -95,6 +95,7 @@ namespace astar
|
|||||||
graph.ConcatGraph(Graph.FromGraph(rl.LoadRegionFromNodeId(neighborId)));
|
graph.ConcatGraph(Graph.FromGraph(rl.LoadRegionFromNodeId(neighborId)));
|
||||||
if (!graph.ContainsWay(wayId.Key))
|
if (!graph.ContainsWay(wayId.Key))
|
||||||
{
|
{
|
||||||
|
logger?.LogDebug("Loading way... This will be slow.");
|
||||||
foreach (global::Graph.Graph? g in rl.LoadRegionsFromWayId(wayId.Key))
|
foreach (global::Graph.Graph? g in rl.LoadRegionsFromWayId(wayId.Key))
|
||||||
graph.ConcatGraph(Graph.FromGraph(g));
|
graph.ConcatGraph(Graph.FromGraph(g));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user