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 8 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 12776152319

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 232 unchanged lines in 6 files lost coverage.
  • Overall coverage decreased (-0.6%) to 59.861%

Files with Coverage Reduction New Missed Lines %
input/core/merginuserinfo.cpp 1 75.18%
input/app/layersmodel.h 1 0.0%
input/app/layersmodel.cpp 8 0.0%
input/app/activeproject.cpp 40 71.88%
input/app/main.cpp 84 32.35%
input/app/layersproxymodel.cpp 98 0.0%
Totals Coverage Status
Change from base Build 12688514540: -0.6%
Covered Lines: 7819
Relevant Lines: 13062

💛 - Coveralls

@VitorVieiraZ VitorVieiraZ changed the title WIP - Hiding tracking layer while recording Hiding tracking layer while recording Jan 3, 2025
app/layersproxymodel.cpp Outdated Show resolved Hide resolved
text: qsTr("Add")
iconSource: __style.addIcon
onClicked: {
if ( __recordingLayersModel.rowCount() > 0 ) {
if ( recordingLayersModel.rowCount() > 0 ) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would be better to not instantiate LayersProxyModel just for this check, but instead add a function like __activeProject.projectHasRecordingLayers()

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