mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Attempt to fix rich text label effects processing even when
the node is invisible.
ISSUE:47687
(cherry picked from commit c4f976b38b)
This commit is contained in:
committed by
Rémi Verschelde
parent
5eff9569c6
commit
0e7c2ea331
@@ -1022,10 +1022,11 @@ void RichTextLabel::_notification(int p_what) {
|
||||
}
|
||||
} break;
|
||||
case NOTIFICATION_INTERNAL_PROCESS: {
|
||||
float dt = get_process_delta_time();
|
||||
|
||||
_update_fx(main, dt);
|
||||
update();
|
||||
if (is_visible_in_tree()) {
|
||||
float dt = get_process_delta_time();
|
||||
_update_fx(main, dt);
|
||||
update();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user