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

[GUI] If a new control is added on root, call the camera update function to… #13372

Merged

Conversation

carolhmj
Copy link
Contributor

… update the positions of controls linked to meshes.

This is to fix a issue when the camera is moved while new controls are being added, and some of them are linked to a mesh, their positions have to be properly updated again.

Example PG: https://playground.babylonjs.com/#XCPP9Y#16922

… update the positions of controls linked to meshes.
@carolhmj carolhmj changed the title If a new control is added on root, call the camera update function to… [GUI] If a new control is added on root, call the camera update function to… Dec 22, 2022
@carolhmj carolhmj enabled auto-merge December 22, 2022 18:04
@carolhmj carolhmj merged commit 6a43316 into BabylonJS:master Dec 22, 2022
@carolhmj carolhmj deleted the fixFlickeringWhenLinkedControlAdded branch July 19, 2023 13:33
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.

2 participants