You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS/device including version: Windows 10 version 1909
Issue description:
If a RichTextLabel has BBCode tags that animate the text (such as [tornado] and [shake]) and then append_bbcode function is called, the animations stop.
The documentation for append_bbcode does not suggest this behavior.
Root cause: set_process_internal(false) is called at the beginning of append_bbcode() and if the bbcode doesn't contain any animated effects, process_internal may not be set to true again.
Godot version: 3.2.1.stable.official
OS/device including version: Windows 10 version 1909
Issue description:
If a RichTextLabel has BBCode tags that animate the text (such as
[tornado]
and[shake]
) and then append_bbcode function is called, the animations stop.The documentation for append_bbcode does not suggest this behavior.
Root cause:
set_process_internal(false)
is called at the beginning ofappend_bbcode()
and if the bbcode doesn't contain any animated effects, process_internal may not be set to true again.godot/scene/gui/rich_text_label.cpp
Line 2071 in 5247fdb
Steps to reproduce:
Create a RichTextLabel, enable BB Code, enter the following as BB Code Text in the inspector:
The text will be animated properly.
Then, append any string that does not contain an animated BBCode tag to the label by calling
RichTextLabel.append_bbcode("")
Current behavior: Animations are paused.
Expected behavior: Animations continue playing.
Minimal reproduction project:
RTLEffectsDemo.zip
The text was updated successfully, but these errors were encountered: