summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-02 22:36:57 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-02 22:36:57 +0100
commit9ec7aadc06c5c6410839e21d26956579d0628728 (patch)
treef778a87753266d9f7870fbb7fe8dfe38d2277d7a /scene/resources
parentc9e0d787fe49af72fcf84d6a54c073985d8a1851 (diff)
parentebf86c96e9b648ce1f7d654032e21d4aa84b8985 (diff)
Merge pull request #66017 from Mickeon/rename-image-copy-rect
Rename Image's `get_rect` to `get_region`
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/texture.cpp2
1 files changed, 1 insertions, 1 deletions
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<Image> AtlasTexture::get_image() const {
return Ref<Image>();
}
- return atlas->get_image()->get_rect(region);
+ return atlas->get_image()->get_region(region);
}
AtlasTexture::AtlasTexture() {}