diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2021-03-29 10:41:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-29 10:41:22 +0200 |
| commit | bc29f4bca158bbf3a24030cd616f162706e1646c (patch) | |
| tree | bcac4f2ce34607cad2cc1d06337c869c6b1c5321 /modules/fbx/tools/import_utils.h | |
| parent | b2eb838781f2d2c323c573d4e9ebb3c47d2c6397 (diff) | |
| parent | fd30c36985c6a5de09daf897800c36acb8c2c49a (diff) | |
Merge pull request #47435 from madmiraal/rename-texture-get_data
Rename Texture.get_data() to get_image()
Diffstat (limited to 'modules/fbx/tools/import_utils.h')
| -rw-r--r-- | modules/fbx/tools/import_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fbx/tools/import_utils.h b/modules/fbx/tools/import_utils.h index 6261138812..bea28ffeda 100644 --- a/modules/fbx/tools/import_utils.h +++ b/modules/fbx/tools/import_utils.h @@ -339,7 +339,7 @@ public: // } else { // Ref<Texture> texture = ResourceLoader::load(p_path); // ERR_FAIL_COND_V(texture.is_null(), Ref<Image>()); - // Ref<Image> image = texture->get_data(); + // Ref<Image> image = texture->get_image(); // ERR_FAIL_COND_V(image.is_null(), Ref<Image>()); // state.path_to_image_cache.insert(p_path, image); // return image; |