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

[Reshape tool] keep original direction when reshaping linestrings #60497

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

Djedouas
Copy link
Member

@Djedouas Djedouas commented Feb 6, 2025

Description

When the reshape line goes backwards against the original line, the result sometimes follows the reshape line direction, sometimes the original line direction (see below).

direction-2025-02-06_16 37 25

We fix this by always choosing the original line direction (except when the reshape line completely overrides the original line).

When the reshape line goes backwards against the original line, the
result sometimes follows the reshape line direction, sometimes the
original line direction.

We fix this by always choosing the original line direction (except when
the reshape line completely overrides the original line).
@github-actions github-actions bot added this to the 3.42.0 milestone Feb 6, 2025
Copy link

github-actions bot commented Feb 6, 2025

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit 3e6d28e)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 3e6d28e)

@lbartoletti lbartoletti merged commit 4677b6d into qgis:master Feb 7, 2025
43 checks passed
@Djedouas Djedouas deleted the reshape-tool-directed-lines branch February 10, 2025 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants