-
Notifications
You must be signed in to change notification settings - Fork 93
Prevent players from setting invalid lane arrows #368
Copy link
Copy link
Labels
LANE ROUTINGFeature: Lane arrows / connectorsFeature: Lane arrows / connectorsOverlaysOverlays, data vis, etc.Overlays, data vis, etc.UIUser interface updatesUser interface updatesadjustments requiredAn issue require some adjustments in codeAn issue require some adjustments in codeenhancementImprove existing featureImprove existing feature
Metadata
Metadata
Assignees
Labels
LANE ROUTINGFeature: Lane arrows / connectorsFeature: Lane arrows / connectorsOverlaysOverlays, data vis, etc.Overlays, data vis, etc.UIUser interface updatesUser interface updatesadjustments requiredAn issue require some adjustments in codeAn issue require some adjustments in codeenhancementImprove existing featureImprove existing feature
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
Players should not be able to set lane arrows that do not point to an outgoing segment.
For example, in issue #361 the player mistakenly used straight lane arrows where the angle between the 4-lane highway and 8-lane road with median requires a right pointing arrow.
Technical Info
Flagsclass. We could use this opportunity to move the code toLaneArrowManager.LaneArrowManager:ToggleLaneArrows()callSetLaneArrows()SetLaneArrows(): Check if the intended lane arrow is validHandleValidSegment(): (gets called when a segment is updated) Make sure that old lane arrows are valid. If not, call correction code.LaneArrowTool: Disable/Remove invalid lane arrow toggle buttons