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

Properly handle theme changes in the Skeleton3DEditor #65053

Merged
merged 1 commit into from
Aug 30, 2022

Conversation

YuriSizov
Copy link
Contributor

Fixes #65037. Pretty much described in my comment there.

@YuriSizov YuriSizov added this to the 4.0 milestone Aug 29, 2022
@YuriSizov YuriSizov requested a review from a team as a code owner August 29, 2022 18:39
@YuriSizov YuriSizov force-pushed the editor-bones-but-no-meat branch from 64f964c to 1839ec9 Compare August 29, 2022 18:40

get_tree()->connect("node_removed", callable_mp(this, &Skeleton3DEditor::_node_removed), Object::CONNECT_ONESHOT);
} break;
case NOTIFICATION_READY: {
Copy link
Member

Choose a reason for hiding this comment

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

Nitpick, but we try to keep a separation like between cases for _notification switches, as these are often big/method-sized scopes.

Copy link
Member

Choose a reason for hiding this comment

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

But this code already didn't follow that convention so let's not make it block a regression fix.

@akien-mga akien-mga merged commit 21b218c into godotengine:master Aug 30, 2022
@akien-mga
Copy link
Member

Thanks!

@YuriSizov YuriSizov deleted the editor-bones-but-no-meat branch August 30, 2022 10:27
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.

Skeleton bones have invalid icons
2 participants