OpenGEX: Add assertion to silence a static analyzer warning

pull/1498/head
Turo Lamminen 2017-11-14 18:46:27 +02:00
parent f470b8466f
commit 97843f19d2
1 changed files with 2 additions and 0 deletions

View File

@ -652,6 +652,8 @@ static void setMatrix( aiNode *node, DataArrayList *transformData ) {
i++;
}
ai_assert(i == 16);
node->mTransformation.a1 = m[ 0 ];
node->mTransformation.a2 = m[ 4 ];
node->mTransformation.a3 = m[ 8 ];