From fd30c36985c6a5de09daf897800c36acb8c2c49a Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Sun, 28 Mar 2021 12:32:17 +0100 Subject: Rename Texture.get_data() to get_image() --- scene/resources/default_theme/default_theme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/resources/default_theme/default_theme.cpp') diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index 854001f397..85d097aa19 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -114,7 +114,7 @@ static Ref flip_icon(Ref p_texture, bool p_flip_y = false, } Ref texture(memnew(ImageTexture)); - Ref img = p_texture->get_data(); + Ref img = p_texture->get_image(); img = img->duplicate(); if (p_flip_y) { -- cgit v1.2.3