From dc32083681a770e9d7e332c5beed30b52c793752 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 16 Sep 2019 15:51:33 -0300 Subject: Proper texture reloading (was broken). --- editor/import/resource_importer_texture.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'editor/import') 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 &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) -- cgit v1.2.3