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

Georeferencer preview point fixes #57984

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

uclaros
Copy link
Contributor

@uclaros uclaros commented Jul 4, 2024

Description

  • Preview points cannot be added before a layer is loaded
  • Preview points do not display a point tip
  • Preview points are correctly displayed when zooming/panning the canvases
  • Last clicked preview point is actually used if georef canvas is clicked again while coords dialog is open

Fixes #44986
Fixes #44987
Fixes #44988

Also fixes old unreported regression: residual bars are now updated while moving GCPs

@uclaros uclaros added Bug Either a bug report, or a bug fix. Let's hope for the latter! backport release-3_34 backport release-3_38 labels Jul 4, 2024
@github-actions github-actions bot added this to the 3.40.0 milestone Jul 4, 2024
Copy link

github-actions bot commented Jul 4, 2024

🪟 Windows builds ready!

Windows builds of this PR are available for testing here. Debug symbols for this build are available here.

(Built from commit 62551be)

@@ -92,13 +92,18 @@ void QgsGeorefDataPoint::setEnabled( bool enabled )

void QgsGeorefDataPoint::setId( int id )
{
const bool noLongerTemporary = mId < 0 && id >= 0;
Copy link
Contributor

Choose a reason for hiding this comment

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

Variable name doesn't seem optimal, maybe "isValid" or "isPermanent"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We only want to change the color if this call changes the point form a temporary ( < 0 ) to a permanent, hence the noLonger in the name

@uclaros uclaros mentioned this pull request Jul 9, 2024
2 tasks
@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Jul 19, 2024
@qgis qgis deleted a comment from github-actions bot Jul 19, 2024
@github-actions github-actions bot removed the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Jul 19, 2024
@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Aug 3, 2024
@qgis qgis deleted a comment from github-actions bot Aug 3, 2024
@github-actions github-actions bot removed the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport queued_ltr_backports Queued Backports backport release-3_38 Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
3 participants