- BUGFIX: Fix compiler warning: variable is not initialized.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@514 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
1a4ef72ffb
commit
84ff1090c2
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue