assert: remove assert with more than one statement and use only ai_assert.

This commit is contained in:
Kim Kulling
2017-08-14 22:20:26 +02:00
parent 974eb669c8
commit dab0985994
13 changed files with 30 additions and 31 deletions

View File

@@ -450,7 +450,9 @@ void SMDImporter::CreateOutputMeshes()
// add bone child nodes
void SMDImporter::AddBoneChildren(aiNode* pcNode, uint32_t iParent)
{
ai_assert(NULL != pcNode && 0 == pcNode->mNumChildren && NULL == pcNode->mChildren);
ai_assert( NULL != pcNode );
ai_assert( 0 == pcNode->mNumChildren );
ai_assert( NULL == pcNode->mChildren);
// first count ...
for (unsigned int i = 0; i < asBones.size();++i)