From ebf86c96e9b648ce1f7d654032e21d4aa84b8985 Mon Sep 17 00:00:00 2001 From: Micky Date: Sun, 18 Sep 2022 02:19:55 +0200 Subject: Rename Image's `get_rect` to `get_region` Also renames its parameter to from "rect" to "region". --- scene/resources/texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/resources') diff --git a/scene/resources/texture.cpp b/scene/resources/texture.cpp index 5232e8fcab..a6fb359051 100644 --- a/scene/resources/texture.cpp +++ b/scene/resources/texture.cpp @@ -1663,7 +1663,7 @@ Ref AtlasTexture::get_image() const { return Ref(); } - return atlas->get_image()->get_rect(region); + return atlas->get_image()->get_region(region); } AtlasTexture::AtlasTexture() {} -- cgit v1.2.3