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 viewport camera selector out of sync #28297

Merged
merged 1 commit into from
May 6, 2024

Conversation

ycw
Copy link
Contributor

@ycw ycw commented May 6, 2024

The issue: camera selector in viewport doesn't reflect camera changes (renaming/deletion):

camera.selector.outsync.mp4

This PR fixed that by re-rendering the camera selector on objectChanged:

camera.selector.insync.mp4

Preview: https://raw.githack.com/ycw/three.js/editor-viewport-controls-cameras-insync/editor/index.html

@mrdoob mrdoob added this to the r165 milestone May 6, 2024
@mrdoob mrdoob merged commit 1289401 into mrdoob:dev May 6, 2024
7 of 11 checks passed
@ycw ycw deleted the editor-viewport-controls-cameras-insync branch May 6, 2024 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants