Update MDLFileData.h

Remove not supported array initialization.
pull/2151/head
Kim Kulling 2018-09-21 19:43:19 +02:00 committed by GitHub
parent e129d88825
commit 3a38c2c067
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 7 deletions

View File

@ -717,10 +717,9 @@ struct GroupFrame
*/
struct IntFace_MDL7 {
// provide a constructor for our own convenience
IntFace_MDL7() AI_NO_EXCEPT
: mIndices { 0 }
, iMatIndex{ 0 } {
// empty
IntFace_MDL7() AI_NO_EXCEPT {
::memset( mIndices, 0, sizeof(uint32_t) *3);
::memset( iMatIndex, 0, sizeof( unsigned int) *2);
}
//! Vertex indices
@ -739,9 +738,8 @@ struct IntFace_MDL7 {
struct IntMaterial_MDL7 {
// provide a constructor for our own convenience
IntMaterial_MDL7() AI_NO_EXCEPT
: pcMat( nullptr )
, iOldMatIndices{ 0 } {
// empty
: pcMat( nullptr ) {
::memset( iOldMatIndices, 0, sizeof(unsigned int) *2);
}
//! Material instance