Skip to content

Commit

Permalink
Remove unecessary _set_global_invalid added by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
groud committed Jan 18, 2024
1 parent 29116a8 commit 9dfc012
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 9dfc012

Please sign in to comment.