Raw: Reformat code, no functional change
parent
885c32e8cc
commit
1ad789bae9
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue