1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

Rename Image's get_rect to get_region

Also renames its parameter to from "rect" to "region".
This commit is contained in:
Micky
2022-09-18 02:19:55 +02:00
parent e6751549cf
commit ebf86c96e9
7 changed files with 12 additions and 12 deletions

View File

@@ -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() {}