From 1094522d7616ef2c858a6475816a5e38b0a241da Mon Sep 17 00:00:00 2001 From: "K. S. Ernest (iFire) Lee" Date: Tue, 3 Sep 2019 09:29:51 -0700 Subject: [PATCH] Assimp map mode is not initialized before use. --- modules/assimp/import_state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/assimp/import_state.h b/modules/assimp/import_state.h index 8d82cd3e399..56d89ffea75 100644 --- a/modules/assimp/import_state.h +++ b/modules/assimp/import_state.h @@ -79,7 +79,7 @@ struct ImportState { struct AssimpImageData { Ref raw_image; Ref texture; - aiTextureMapMode *map_mode = NULL; + aiTextureMapMode map_mode[2]; }; /** Recursive state is used to push state into functions instead of specifying them