Merge pull request #25983 from JFonS/fix_23960

Fix update of canvas AABB with update_when_visible
This commit is contained in:
Rémi Verschelde
2019-02-20 13:43:14 +01:00
committed by GitHub

View File

@@ -870,7 +870,7 @@ public:
Rect2 global_rect_cache;
const Rect2 &get_rect() const {
if (custom_rect || !rect_dirty)
if (custom_rect || (!rect_dirty && !update_when_visible))
return rect;
//must update rect