-
Notifications
You must be signed in to change notification settings - Fork 24
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
Fix incorrect rotation matrix after selecting nodes #6978
Conversation
…nodes that were created in arbitrary mode
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM 👍
…tching to ortho mode
…nossos into fix-changing-rotation
Argh, I think I had "prepared" nodes with rotations and after building the fix I only ensured that selecting these nodes didn't cause rendering bugs.
Yes, that was exactly it. Thanks for catching this 🙏 🙏 🙏 Could you have another look for a final thumbs up? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, works well 👍
* fix that rotation could be changed in orthogonal mode when selecting nodes that were created in arbitrary mode * fix spec * update changelog * Update frontend/javascripts/oxalis/model/reducers/flycam_reducer.ts * fix regression which prevented the flycam matrix to be reset when switching to ortho mode
* Fix missing buckets when annotation has set rotation value (#6967) * don't use stored rotation from annotation when mode is set to orthogonal * update changelog * Update frontend/javascripts/oxalis/model_initialization.ts * read viewMode from store instead of from url state --------- Co-authored-by: Daniel <[email protected]> * Release 23.04.1 * Fix incorrect rotation matrix after selecting nodes (#6978) * fix that rotation could be changed in orthogonal mode when selecting nodes that were created in arbitrary mode * fix spec * update changelog * Update frontend/javascripts/oxalis/model/reducers/flycam_reducer.ts * fix regression which prevented the flycam matrix to be reset when switching to ortho mode * Release 23.04.2 --------- Co-authored-by: Daniel <[email protected]>
Nodes that are created in arbitrary mode have an attached non-default rotation. Selecting that node will center their position and change apply their rotation. In orthogonal mode, this shouldn't happen as that rotation is used for bucket picking.
URL of deployed dev instance (used for testing):
Steps to test:
Issues:
(Please delete unneeded items, merge only when none are left open)