diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-09-03 23:31:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-03 23:31:42 +0200 |
commit | d2900347bf0586879df856e807858178d3bde5f4 (patch) | |
tree | 5bae1c20c0679d74b3dd8db8eef15ea7b0543eb0 /modules | |
parent | 750f8d4926edb14269d9f6a117c5a9fd4765373a (diff) | |
parent | 1094522d7616ef2c858a6475816a5e38b0a241da (diff) |
Merge pull request #31931 from fire/assimp_map_mode
Assimp map mode is not initialized before use.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/assimp/import_state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/assimp/import_state.h b/modules/assimp/import_state.h index 8d82cd3e39..56d89ffea7 100644 --- a/modules/assimp/import_state.h +++ b/modules/assimp/import_state.h @@ -79,7 +79,7 @@ struct ImportState { struct AssimpImageData { Ref<Image> raw_image; Ref<ImageTexture> texture; - aiTextureMapMode *map_mode = NULL; + aiTextureMapMode map_mode[2]; }; /** Recursive state is used to push state into functions instead of specifying them |