BUGFIX: Fix compiler warning: variable not initialized.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@523 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
kimmi 2009-12-24 12:02:06 +00:00
parent 76385013d0
commit a955f4008a
1 changed files with 2 additions and 2 deletions

View File

@ -967,7 +967,7 @@ void ASEImporter::ConvertMeshes(ASE::Mesh& mesh, std::vector<aiMesh*>& avOutMesh
p_pcOut->mNumFaces = (unsigned int)aiSplit[p].size();
// receive output vertex weights
std::vector<std::pair<unsigned int, float> >* avOutputBones;
std::vector<std::pair<unsigned int, float> > *avOutputBones = NULL;
if (!mesh.mBones.empty()) {
avOutputBones = new std::vector<std::pair<unsigned int, float> >[mesh.mBones.size()];
}
@ -1293,7 +1293,7 @@ bool ASEImporter::GenerateNormals(ASE::Mesh& mesh) {
}
}
}
// The array ís reused
// The array <EFBFBD>s reused
ComputeNormalsWithSmoothingsGroups<ASE::Face>(mesh);
return false;
}