Merge pull request #87328 from groud/remove_useless_set_global_invalid

Remove unecessary `_set_global_invalid` added by mistake
This commit is contained in:
Rémi Verschelde 2024-01-18 11:47:12 +01:00
commit 1952f64b07
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -277,8 +277,6 @@ void CanvasItem::_notification(int p_what) {
ERR_MAIN_THREAD_GUARD;
ERR_FAIL_COND(!is_inside_tree());
_set_global_invalid(true);
Node *parent = get_parent();
if (parent) {
CanvasItem *ci = Object::cast_to<CanvasItem>(parent);