Skip to content

Commit

Permalink
Merge pull request #87328 from groud/remove_useless_set_global_invalid
Browse files Browse the repository at this point in the history
Remove unecessary `_set_global_invalid` added by mistake
  • Loading branch information
akien-mga committed Jan 18, 2024
2 parents dfbd690 + 9dfc012 commit 1952f64
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scene/main/canvas_item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1952f64

Please sign in to comment.