1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Rename Texture.get_data() to get_image()

This commit is contained in:
Marcel Admiraal
2021-03-28 12:32:17 +01:00
parent f8442b97bf
commit fd30c36985
31 changed files with 99 additions and 98 deletions

View File

@@ -171,7 +171,7 @@ void Sprite2DEditor::_update_mesh_data() {
return;
}
Ref<Image> image = texture->get_data();
Ref<Image> image = texture->get_image();
ERR_FAIL_COND(image.is_null());
if (image->is_compressed()) {