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

Fixes #33449 Snapping empty layer when adding new feature #33757

merged 1 commit into from Jan 13, 2020


Copy link

troopa81 commented Jan 13, 2020


If the layer is empty and we create a new features, these ones are not indexed. This PR reset the mIsEmptyLayer boolean when a feature is added so the index could be build.


  • Commit messages are descriptive and explain the rationale for changes
  • Commits which fix bugs include Fixes #11111 at the bottom of the commit message
  • I have read the QGIS Coding Standards and this PR complies with them
  • New unit tests have been added for core changes
  • I have run the scripts/ script before each commit
  • I have evaluated whether it is appropriate for this PR to be backported, backport requests are left as label or comment
@github-actions github-actions bot added this to the 3.12.0 milestone Jan 13, 2020

This comment has been minimized.

Copy link

nyalldawson commented Jan 13, 2020

Unrelated test failure

@nyalldawson nyalldawson merged commit 6b96794 into qgis:master Jan 13, 2020
1 of 2 checks passed
1 of 2 checks passed
qgis.QGIS #20200113.21 failed
continuous-integration/travis-ci/pr The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.