calculate and refresh set of allowed lane arrows for SegmentEnd
reset custom lane arrows when after segment or node update the set of available lane arrows is significantly different (segment supports more or less arrow directions than before)
block invalid Lane Arrows in the Tool UI, shows a tooltip for disabled arrows
update Lane Arrows if the lane has any Lane Connection(s), to match direction of the lane connection
[performance] after doing many tests I decided to remove code for updating lane arrows from _RoadBaseAI/SegmentSimulationStepPatch since it does not provide any value other than wasting CPU time
Provided enhancements will solve a lot of mysterious issues reported by users in the past few years. Sometimes, for some reason (most likely segment update or bug in other feature) custom lane arrows became invalid, effectively causing huge pathfinding issues (including infamous "no cims coming from outside" when the users started a new city), since invalid arrows either don't create any lane transitions or only those of type "relaxed" which come with significant penalty for pathfinding when selected for regular vehicles.
Fixes #368
Enhancements in this PR:
Lane Arrows
on loadSegmentEnd
Lane Arrows
in the Tool UI, shows a tooltip for disabled arrowsLane Arrows
if the lane has anyLane Connection(s)
, to match direction of the lane connection_RoadBaseAI/SegmentSimulationStepPatch
since it does not provide any value other than wasting CPU timeProvided enhancements will solve a lot of mysterious issues reported by users in the past few years. Sometimes, for some reason (most likely segment update or bug in other feature) custom lane arrows became invalid, effectively causing huge pathfinding issues (including infamous "no cims coming from outside" when the users started a new city), since invalid arrows either don't create any lane transitions or only those of type "relaxed" which come with significant penalty for pathfinding when selected for regular vehicles.
Build ZIP