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
1 changed files with 0 additions and 2 deletions

View File

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