Merge pull request #87328 from groud/remove_useless_set_global_invalid
Remove unecessary `_set_global_invalid` added by mistake
This commit is contained in:
commit
1952f64b07
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue