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 double set_name in renaming node #102553

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

amarsero
Copy link
Contributor

@amarsero amarsero commented Feb 7, 2025

Fixes #102411

Currently the name is set and then the undo system sets it again.
I've tested multiple ways of renaming and it seems that just removing this line works.
Checked previous commit and seems unintentional the double set_name.

@amarsero amarsero requested review from a team as code owners February 7, 2025 19:04
@AThousandShips AThousandShips added bug topic:editor cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release labels Feb 7, 2025
@AThousandShips AThousandShips added this to the 4.5 milestone Feb 7, 2025
Copy link
Member

@KoBeWi KoBeWi left a comment

Choose a reason for hiding this comment

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

Needs rebase to fix CI.

@akien-mga akien-mga modified the milestones: 4.5, 4.4 Feb 8, 2025
@akien-mga akien-mga removed the cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release label Feb 8, 2025
@amarsero
Copy link
Contributor Author

amarsero commented Feb 8, 2025

Done!

@akien-mga akien-mga changed the title Fix double set_name in renaming node Fix double set_name in renaming node Feb 10, 2025
@akien-mga akien-mga merged commit ed2582e into godotengine:master Feb 10, 2025
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@akien-mga akien-mga removed the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release topic:editor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Node signal "renamed" is emitted twice for @tool scripts.
4 participants