diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-04-30 12:33:02 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-04-30 12:33:02 +0200 |
commit | e949d6c2ae64a0faecd595b7589c1690426f18a7 (patch) | |
tree | 0f48efbfc70693b9b84244a2cca16c53dc27439e /scene | |
parent | 712b789dc83f1d6e9279aa7c9368e6dc3ee7a21e (diff) |
Fix build error after #27294
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/texture_rect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/texture_rect.cpp b/scene/gui/texture_rect.cpp index 2195de9694..423794d8ba 100644 --- a/scene/gui/texture_rect.cpp +++ b/scene/gui/texture_rect.cpp @@ -96,7 +96,7 @@ void TextureRect::_notification(int p_what) { size.width *= hflip ? -1.0f : 1.0f; size.height *= vflip ? -1.0f : 1.0f; - if (region.no_area()) { + if (region.has_no_area()) { draw_texture_rect(texture, Rect2(offset, size), tile); } else { draw_texture_rect_region(texture, Rect2(offset, size), region); |