diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-01-02 20:32:19 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-01-02 20:32:19 -0300 |
commit | 939c5f5c9effce84b55d1ff1ead33dda62c5d3d6 (patch) | |
tree | eff5bc73d1a834cf812050683c6187bf73d95534 /scene | |
parent | 1597082c85a2bf3ddca0414de1fa32fb5f2e5350 (diff) |
-Fix global transform cache not being cleared in 2D nodes, fixes many editor bugs, closes #2115
Diffstat (limited to 'scene')
-rw-r--r-- | scene/2d/canvas_item.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<CanvasItem>()->children_items.erase(C); C=NULL; } + global_invalid=true; } break; case NOTIFICATION_DRAW: { |