Fixes the stopping of animation effects in bbcode after appending
This commit is contained in:
parent
84abf5a979
commit
88b30a29bf
|
@ -2409,6 +2409,17 @@ Error RichTextLabel::append_bbcode(const String &p_bbcode) {
|
|||
}
|
||||
}
|
||||
|
||||
Vector<ItemFX *> fx_items;
|
||||
for (List<Item *>::Element *E = main->subitems.front(); E; E = E->next()) {
|
||||
Item *subitem = static_cast<Item *>(E->get());
|
||||
_fetch_item_fx_stack(subitem, fx_items);
|
||||
|
||||
if (fx_items.size()) {
|
||||
set_process_internal(true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue