just a try, i dunno have a clue ...

This commit is contained in:
Kim Kulling
2019-11-16 15:51:26 +01:00
parent 2eed8b1820
commit 17257cd2ae
4 changed files with 15 additions and 12 deletions

View File

@@ -471,12 +471,12 @@ aiReturn aiMaterial::AddBinaryProperty (const void* pInput,
aiPropertyTypeInfo pType
)
{
ai_assert( pInput != NULL );
ai_assert( pKey != NULL );
ai_assert( pInput != nullptr );
ai_assert(pKey != nullptr );
ai_assert( 0 != pSizeInBytes );
if ( 0 == pSizeInBytes ) {
return AI_FAILURE;
}
// first search the list whether there is already an entry with this key