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

Netedit: Recomputed connections change shape significantly #5254

Closed
m-kro opened this issue Mar 4, 2019 · 2 comments
Closed

Netedit: Recomputed connections change shape significantly #5254

m-kro opened this issue Mar 4, 2019 · 2 comments
Assignees

Comments

@m-kro
Copy link
Contributor

m-kro commented Mar 4, 2019

For some relations / big radii, connection shapes may differ visibly from the geometry drawn before a recompute command was issued. Example screenshots are attached below.

  1. The cyan connections have just been added.
    image

  2. How they look like after a recompute operation or when saving the network. Looks a bit like an ill-formed basket arch...
    image

@namdre
Copy link
Contributor

namdre commented Mar 7, 2019

I think this is caused by a feature in 1.0.0 which intends to avoid intersecting left turns. You can comment out NBNode.cpp line 713 and check if the problem goes away.
I'm open for suggestions on how to make this work better / configurable.

@m-kro
Copy link
Contributor Author

m-kro commented Mar 7, 2019

I can confirm that it is due to the AVOID_WIDE_LEFT_TURN mode.

@namdre namdre self-assigned this Mar 8, 2019
@namdre namdre added the bug label Mar 8, 2019
@namdre namdre closed this as completed in 765e763 Mar 8, 2019
namdre added a commit that referenced this issue Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants