-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Correct RichTextLabel.custom_effects property type metadata #40383
Correct RichTextLabel.custom_effects property type metadata #40383
Conversation
Thanks! |
Cherry-picked for 3.2.3. Edit: Reverted. |
Undid the cherry-pick, there are no typed arrays in |
Unfortunately this broke things. I agree the syntax in the Anyway, this broke customising of effects in RichTextLabel. This is the only place an
godot/editor/editor_properties_array_dict.cpp Lines 550 to 567 in 0638ca0
See all those slices looking for The PROPERTY_HINT corresponds to the sub-type, meaning RichTextEffect. The type of the property itself is already defined as Previously when you opened the menu for custom effects, you would only see this: After this change, you would see the whole list because the editor did not know what to do. This begs the question... did you test the changes before submitting the PR? If you built, ran and tested before submitting you would have seen that the |
Current entry in api.json:
I couldn't figure out the meaning of
17/17:RichTextEffect
and didn't see any other places where this is used.The correction mimic what is done in
RDPipelineColorBlendState::attachments
:godot/servers/rendering/rendering_device_binds.h
Line 625 in e387278