Merge pull request #31931 from fire/assimp_map_mode
Assimp map mode is not initialized before use.
This commit is contained in:
commit
d2900347bf
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ struct ImportState {
|
||||||
struct AssimpImageData {
|
struct AssimpImageData {
|
||||||
Ref<Image> raw_image;
|
Ref<Image> raw_image;
|
||||||
Ref<ImageTexture> texture;
|
Ref<ImageTexture> texture;
|
||||||
aiTextureMapMode *map_mode = NULL;
|
aiTextureMapMode map_mode[2];
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Recursive state is used to push state into functions instead of specifying them
|
/** Recursive state is used to push state into functions instead of specifying them
|
||||||
|
|
Loading…
Reference in a new issue