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