You've already forked godot
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:
@@ -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() {}
|
||||
|
||||
Reference in New Issue
Block a user