Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed lane arrows reset check for lane connections on RHT #891

Merged
merged 1 commit into from
May 13, 2020

Conversation

kianzarrin
Copy link
Collaborator

Hint: the diff tiny diff is easier to read than the description!

Screenshot (1069)Bug:
When lane arrow tool reset lanes, it checks if the lanes have lane connections. But in RHT it gets the lane direction wrong. This coupled with #784 causes reset to do nothing if the segment has lane connections on the other side.

Fix:

checked for finalDirection rather than direction.

Test:

create the scenario in the screenshot and press delete.

Expected Result:

without this fix : nothign happens
with this fix: lane arrows are reset

Copy link
Collaborator

@kvakvs kvakvs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

Copy link
Member

@krzychu124 krzychu124 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool 👍

Copy link
Member

@originalfoo originalfoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@originalfoo originalfoo added the LANE ROUTING Feature: Lane arrows / connectors label May 13, 2020
@originalfoo originalfoo added this to the 11.5.0 milestone May 13, 2020
@kianzarrin kianzarrin merged commit 7a89ee2 into master May 13, 2020
@kianzarrin kianzarrin deleted the reset-arrrows-minibug branch May 13, 2020 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LANE ROUTING Feature: Lane arrows / connectors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants