diff options
author | Juan Linietsky <reduzio@gmail.com> | 2019-09-16 15:51:33 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2020-02-11 12:01:25 +0100 |
commit | dc32083681a770e9d7e332c5beed30b52c793752 (patch) | |
tree | 1baaa88b80ed40ae1f19dfc1ad812fa130b8ab61 /editor | |
parent | dd3682e5feb433117fbf62c363c7ba6ff214f8fa (diff) |
Proper texture reloading (was broken).
Diffstat (limited to 'editor')
-rw-r--r-- | editor/import/resource_importer_texture.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/editor/import/resource_importer_texture.cpp b/editor/import/resource_importer_texture.cpp index 32bf9c6f40..b29f78c236 100644 --- a/editor/import/resource_importer_texture.cpp +++ b/editor/import/resource_importer_texture.cpp @@ -246,7 +246,13 @@ void ResourceImporterTexture::_save_stex(const Ref<Image> &p_image, const String f->store_32(0); //texture flags deprecated uint32_t format = 0; - + /* + print_line("streamable " + itos(p_streamable)); + print_line("mipmaps " + itos(p_mipmaps)); + print_line("detect_3d " + itos(p_detect_3d)); + print_line("roughness " + itos(p_detect_roughness)); + print_line("normal " + itos(p_detect_normal)); +*/ if (p_streamable) format |= StreamTexture::FORMAT_BIT_STREAM; if (p_mipmaps) |