Fix: Fix compilation for clang 14.0.3
- closes https://github.com/assimp/assimp/issues/5203pull/5223/head
parent
aa1996e143
commit
a21268330a
|
@ -987,7 +987,7 @@ struct aiMesh {
|
||||||
|
|
||||||
if (mTextureCoordsNames == nullptr) {
|
if (mTextureCoordsNames == nullptr) {
|
||||||
// Construct and null-init array
|
// Construct and null-init array
|
||||||
mTextureCoordsNames = new aiString *[AI_MAX_NUMBER_OF_TEXTURECOORDS] {};
|
mTextureCoordsNames = new aiString *[AI_MAX_NUMBER_OF_TEXTURECOORDS];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (texCoordsName.length == 0) {
|
if (texCoordsName.length == 0) {
|
||||||
|
|
Loading…
Reference in New Issue