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