Skip to content

ArcballControls: Fix state data for reset. #31184

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

Merged
merged 1 commit into from
May 27, 2025
Merged

ArcballControls: Fix state data for reset. #31184

merged 1 commit into from
May 27, 2025

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented May 27, 2025

Fixed #31174.

Description

The PR makes sure the gizmo's matrix is up-to-date before it is saved for the reset.

Besides, to make the controls more in line with OrbitControls, saveState() and reset() also honor the target property.

@Mugen87 Mugen87 added this to the r177 milestone May 27, 2025
@Mugen87 Mugen87 merged commit ec03eb7 into mrdoob:dev May 27, 2025
11 checks passed
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
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.

ArcballControls gizmos position lost after saveState() and reset()
1 participant