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

Fix rotation gizmo for empty Spatials #36963

Merged
merged 1 commit into from
Mar 12, 2020

Conversation

JFonS
Copy link
Contributor

@JFonS JFonS commented Mar 10, 2020

The AABB for an empty Spatial has 0 size, since the stored and compared Transform was scaled by the AABB size, it would completely destroy the rotation information. If there is no rotation information, the gizmo doesn't update when the rotation changes.

Fixes #34718.

The AABB for an empty Spatial has 0 size, since the stored and
compared Transform was scaled by the AABB size, it would completely
destroy the rotation information. If there is no rotation
information, the gizmo doesn't update when the rotation changes.
@JFonS JFonS added the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Mar 10, 2020
@JFonS JFonS added this to the 4.0 milestone Mar 10, 2020
@akien-mga akien-mga merged commit 676fcca into godotengine:master Mar 12, 2020
@akien-mga
Copy link
Member

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 3.2.2.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Mar 25, 2020
@JFonS JFonS deleted the fix_rotation_gizmo_update branch May 4, 2021 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gizmo doesn't update wen rotating in local mode for a Spatial
3 participants