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 skeleton 3d editor's toolbar ui deleted from wrong container #82131

Conversation

jsjtxietian
Copy link
Contributor

Fixes #82094

The bug comes from node mismatch: In create_editors, editors like animation_hb are added to topmenu_bar but in the destructor they are removed from Node3DEditor::get_singleton() which is the parent of topmenu_bar.

@jsjtxietian jsjtxietian requested a review from a team as a code owner September 22, 2023 16:51
@bitsawer bitsawer added this to the 4.2 milestone Sep 23, 2023
@fire fire requested review from TokageItLab and a team September 23, 2023 02:44
@jsjtxietian jsjtxietian force-pushed the fix-skeleton-editor-deleted-in-wrong-container branch from 7734d19 to a2a3c63 Compare September 23, 2023 03:18
@JekSun97
Copy link
Contributor

Thank you for quick bug fix :)

Copy link
Contributor

@YuriSizov YuriSizov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aside from a bit of cleanup, should be good. My bad, missed this in #81557. Doesn't look like any other toolbar behaves like that.

@jsjtxietian jsjtxietian force-pushed the fix-skeleton-editor-deleted-in-wrong-container branch from a2a3c63 to 2679118 Compare September 24, 2023 03:28
@akien-mga akien-mga merged commit 6d8b33f into godotengine:master Sep 24, 2023
@akien-mga
Copy link
Member

Thanks!

@jsjtxietian jsjtxietian deleted the fix-skeleton-editor-deleted-in-wrong-container branch October 18, 2023 03:15
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.

Accumulation of VSeparator in toolbox when selecting a node
6 participants