From 939c5f5c9effce84b55d1ff1ead33dda62c5d3d6 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sat, 2 Jan 2016 20:32:19 -0300 Subject: -Fix global transform cache not being cleared in 2D nodes, fixes many editor bugs, closes #2115 --- scene/2d/canvas_item.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/2d/canvas_item.cpp') diff --git a/scene/2d/canvas_item.cpp b/scene/2d/canvas_item.cpp index adb3574dd9..35b453d71d 100644 --- a/scene/2d/canvas_item.cpp +++ b/scene/2d/canvas_item.cpp @@ -548,6 +548,7 @@ void CanvasItem::_notification(int p_what) { get_parent()->cast_to()->children_items.erase(C); C=NULL; } + global_invalid=true; } break; case NOTIFICATION_DRAW: { -- cgit v1.2.3