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 ultra long node names #40724

Merged
merged 1 commit into from
Jul 26, 2020
Merged

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Jul 26, 2020

Fixes #15608

Looking at the code, the condition was probably meant to skip checking for name validity. It probably increased performance a bit, but at the cost of the names getting ultra long on multiple additions. The change affects only the scenario when node is removed and re-added, not sure if it happens often enough in the editor to be noticeable.

@KoBeWi KoBeWi added this to the 4.0 milestone Jul 26, 2020
@akien-mga akien-mga requested a review from reduz July 26, 2020 13:40
@akien-mga akien-mga added the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Jul 26, 2020
@akien-mga akien-mga merged commit d7e00a2 into godotengine:master Jul 26, 2020
@akien-mga
Copy link
Member

Thanks!

@KoBeWi KoBeWi deleted the weird_condition_🤔 branch July 26, 2020 20:04
@akien-mga
Copy link
Member

Cherry-picked for 3.2.3.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Jul 27, 2020
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.

Node names get really long after many add & removes
2 participants