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

Editor: Fixed gizmo not update when switching local/global space #28317

Merged
merged 1 commit into from
May 8, 2024

Conversation

ycw
Copy link
Contributor

@ycw ycw commented May 8, 2024

The issu: Currently when users toggle local space in viewport's toolbar, the gizmo doesn't re-render until users' pointer hovered it once.

This PR fixed that by re-rendering the scene on spaceChanged:

update.gizmo.immediately.mp4

Preview: https://raw.githack.com/ycw/three.js/editor-update-gizmo-immediately/editor/index.html

@Mugen87 Mugen87 added this to the r165 milestone May 8, 2024
@Mugen87 Mugen87 merged commit 7f8624f into mrdoob:dev May 8, 2024
8 of 12 checks passed
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.

2 participants