Update version.

This commit is contained in:
Kim Kulling
2017-07-18 19:02:08 +02:00
parent 123d06ca1c
commit 5e98898dca
5 changed files with 165 additions and 31 deletions

View File

@@ -456,6 +456,9 @@ aiReturn aiMaterial::AddBinaryProperty (const void* pInput,
ai_assert (pKey != NULL);
ai_assert (0 != pSizeInBytes);
if ( 0 == pSizeInBytes ) {
}
// first search the list whether there is already an entry with this key
unsigned int iOutIndex = UINT_MAX;
for (unsigned int i = 0; i < mNumProperties;++i) {