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

Improve zOrder Handling for Object Layer Movement #9064

Open
2 tasks done
arianizadi opened this issue Feb 6, 2025 · 0 comments · May be fixed by #9063
Open
2 tasks done

Improve zOrder Handling for Object Layer Movement #9064

arianizadi opened this issue Feb 6, 2025 · 0 comments · May be fixed by #9063
Labels
enhancement New feature or request

Comments

@arianizadi
Copy link

arianizadi commented Feb 6, 2025

Actions before raising this issue

  • I searched the existing issues and did not find anything similar.
  • I read/searched the docs

Is your feature request related to a problem? Please describe.

Currently, the zOrder adjustment logic in CVAT moves objects directly to minZLayer - 1 or maxZLayer + 1, which can result in unintended jumps and out-of-bounds issues.

Describe the solution you'd like

Update zOrder logic to adjust the value based on the current z index, such as moving it forward or back by one layer.

Describe alternatives you've considered

I attempted using the current implementation, but if a mistake is made and z layers need to be changed. It is a giant headache to fix. I have to remove layers and recreate masks.

Additional context

#9063

@arianizadi arianizadi added the enhancement New feature or request label Feb 6, 2025
@arianizadi arianizadi linked a pull request Feb 6, 2025 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant