You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-01 16:38:31 +00:00
Rename Image's get_rect to get_region
Also renames its parameter to from "rect" to "region".
This commit is contained in:
@@ -93,7 +93,7 @@ Ref<Texture2D> EditorTexturePreviewPlugin::generate(const Ref<Resource> &p_from,
|
||||
return Ref<Texture2D>();
|
||||
}
|
||||
|
||||
img = atlas->get_rect(atex->get_region());
|
||||
img = atlas->get_region(atex->get_region());
|
||||
} else {
|
||||
Ref<Texture2D> tex = p_from;
|
||||
if (tex.is_valid()) {
|
||||
|
||||
Reference in New Issue
Block a user