ai_assert: split 2 checks in one macro to 2 separate ai_assert tests.

pull/779/head
Kim Kulling 2016-02-01 16:16:09 +01:00
parent f1666d22ce
commit a1bd83d797
1 changed files with 4 additions and 3 deletions

View File

@ -1130,7 +1130,8 @@ void SceneCombiner::Copy (aiTexture** _dest, const aiTexture* src)
// ------------------------------------------------------------------------------------------------ // ------------------------------------------------------------------------------------------------
void SceneCombiner::Copy( aiAnimation** _dest, const aiAnimation* src ) void SceneCombiner::Copy( aiAnimation** _dest, const aiAnimation* src )
{ {
ai_assert(NULL != _dest && NULL != src); ai_assert( NULL != _dest );
ai_assert( NULL != src );
aiAnimation* dest = *_dest = new aiAnimation(); aiAnimation* dest = *_dest = new aiAnimation();