- BUGFIX: Fix compiler warning: variable is not initialized.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@514 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
kimmi 2009-12-24 11:05:32 +00:00
parent 1a4ef72ffb
commit 84ff1090c2
1 changed files with 3 additions and 3 deletions

View File

@ -86,12 +86,12 @@ bool MakeVerboseFormatProcess::MakeVerboseFormat(aiMesh* pcMesh)
aiVector3D* pvPositions = new aiVector3D[ iNumVerts ];
aiVector3D* pvNormals;
aiVector3D* pvNormals = NULL;
if (pcMesh->HasNormals())
{
pvNormals = new aiVector3D[iNumVerts];
}
aiVector3D* pvTangents, *pvBitangents;
aiVector3D* pvTangents = NULL, *pvBitangents = NULL;
if (pcMesh->HasTangentsAndBitangents())
{
pvTangents = new aiVector3D[iNumVerts];