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

RichTextLabel: On custom effect change, parse bbcode only if it's enabled and not empty. #47486

Merged
merged 1 commit into from
Mar 30, 2021

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Mar 30, 2021

Prevents overwriting text by the empty bbcode.

Fixes #47471

Note: #47471 is not reproducible on 3.2 (probably difference in resource loading), but it's still relevant when, custom_effects is set from the code.

@bruvzg bruvzg added this to the 4.0 milestone Mar 30, 2021
@bruvzg bruvzg requested a review from a team as a code owner March 30, 2021 07:26
@akien-mga
Copy link
Member

Note: #47471 is not reproducible on 3.2 (probably difference in resource loading), but it's still relevant when, custom_effects is set from the code.

So should this PR be cherry-picked for 3.x too?

@bruvzg
Copy link
Member Author

bruvzg commented Mar 30, 2021

So should this PR be cherry-picked for 3.x too?

Yes.

@akien-mga akien-mga added the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Mar 30, 2021
@akien-mga akien-mga merged commit 655a913 into godotengine:master Mar 30, 2021
@akien-mga
Copy link
Member

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 3.3.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Apr 5, 2021
@bruvzg bruvzg deleted the rtl_effects branch April 16, 2021 07:46
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.

RichTextLabel loses its (simple) text after scene reopen in editor in Godot 4.0
2 participants