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

Fix strange visual bug with camera and external change. #90317

Conversation

ajreckof
Copy link
Member

@ajreckof ajreckof commented Apr 6, 2024

Fixes #90301
Sincerely I don't know what was happening with this bug but it was because check and update was called later then before. So I reverted this change but had to defer the connection to the set_edited_scene as it needs the scene it replace to be the currently edited one. Moreover since the actual replace in editor_data is only happening later I had to defer the deletion of the old root hence the queue_free.

Edit : realised it was misbehaving with selection so I had to tweak it a bit more for selection to be properly kept

@ajreckof ajreckof marked this pull request as draft April 6, 2024 19:07
@ajreckof ajreckof force-pushed the Fix-strange-visual-bug-with-camera-and-external-change- branch from 5de4ee9 to cc2d162 Compare April 6, 2024 19:31
@ajreckof ajreckof marked this pull request as ready for review April 6, 2024 19:31
@ajreckof ajreckof force-pushed the Fix-strange-visual-bug-with-camera-and-external-change- branch from cc2d162 to 609559c Compare April 7, 2024 01:49
@AThousandShips AThousandShips added this to the 4.3 milestone Apr 7, 2024
@akien-mga akien-mga merged commit 7fa4698 into godotengine:master Apr 8, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

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.

Saving sub-scenes will mess up the display of the main scene on the 2D screen
4 participants