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

Hiding tracking layer while recording #3700

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

Conversation

VitorVieiraZ
Copy link
Contributor

@VitorVieiraZ VitorVieiraZ commented Jan 2, 2025

Add a new filter condition to the recording layer model to ensure a layer is added only if it is not the position tracking layer.

|

Resolves #3687

Copy link

github-actions bot commented Jan 2, 2025

Pull Request Test Coverage Report for Build 12604420959

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 5 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.2%) to 60.569%

Files with Coverage Reduction New Missed Lines %
input/app/layersproxymodel.cpp 2 69.66%
input/core/merginapi.cpp 3 78.96%
Totals Coverage Status
Change from base Build 12135499446: 0.2%
Covered Lines: 7903
Relevant Lines: 13048

💛 - Coveralls

@VitorVieiraZ VitorVieiraZ changed the title WIP - Hiding tracking layer while recording Hiding tracking layer while recording Jan 3, 2025
if ( !layer )
return false;

QgsProject *project = QgsProject::instance();
Copy link
Collaborator

Choose a reason for hiding this comment

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

Everything looks good, the only bit is that we should not read the QGIS project instance as singleton. Let's pass it in as parameter instead (via QML?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When recording, tracking layer is presented as an user editable layer
3 participants