Skip to content

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

Merged
Mugen87 merged 1 commit intomrdoob:devfrom
ycw:editor-update-gizmo-immediately
May 8, 2024
Merged

Editor: Fixed gizmo not update when switching local/global space#28317
Mugen87 merged 1 commit intomrdoob:devfrom
ycw:editor-update-gizmo-immediately

Conversation

@ycw
Copy link
Copy Markdown
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
@ycw ycw deleted the editor-update-gizmo-immediately branch January 14, 2025 10:55
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