Closed krzychu124 closed 2 years ago
does it also call the notifier to notify AN of changes?
does it also call the notifier to notify AN of changes?
Valid point. Which event it should trigger?
Valid point. Which event it should trigger?
Notifier.OnNodeModified()
for every node.
EDIT: the thing is that changes to lane connections triggers rerouting and routing manager in turn invokes the notifier. so it might be that you don't need to take any action except for double checking this actually happens.
Valid point. Which event it should trigger?
Notifier.OnNodeModified()
for every node.EDIT: the thing is that changes to lane connections triggers rerouting and routing manager in turn invokes the notifier. so it might be that you don't need to take any action except for double checking this actually happens.
Yeah, just checked OptionsManager.UpdateRoutingManager();
queues segments to update in the next simulation step and then each RecalculateSegment
notifies listeners via OnSegmentNodesModified
. All should work.
Resolves #1646
Simple maintenance tool for removing all lane connections. More info in #1637 @kianzarrin I'm pretty sure that resetting connection database and requesting full routing recalculation should be enough to make it work correctly. Please double-check.