Raw: Reformat code, no functional change

pull/1656/head
Turo Lamminen 2017-12-24 14:26:53 +02:00
parent 885c32e8cc
commit 1ad789bae9
1 changed files with 3 additions and 1 deletions

View File

@ -243,8 +243,10 @@ void RAWImporter::InternReadFile( const std::string& pFile,
{
cc = &pScene->mRootNode;
pScene->mRootNode->mNumChildren = 0;
} else {
cc = new aiNode*[pScene->mRootNode->mNumChildren];
pScene->mRootNode->mChildren = cc;
}
else cc = pScene->mRootNode->mChildren = new aiNode*[pScene->mRootNode->mNumChildren];
pScene->mNumMaterials = pScene->mNumMeshes;
aiMaterial** mats = pScene->mMaterials = new aiMaterial*[pScene->mNumMaterials];