Browse Source

small fix

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1179 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
jonathanklein 13 years ago
parent
commit
2743a0706e
1 changed files with 6 additions and 0 deletions
  1. 6 0
      code/OgreImporter.cpp

+ 6 - 0
code/OgreImporter.cpp

@@ -524,12 +524,16 @@ aiMesh* OgreImporter::CreateAssimpSubMesh(const SubMesh& theSubMesh, const vecto
 		memcpy(NewAiMesh->mNormals, &theSubMesh.Normals[0], theSubMesh.Normals.size()*sizeof(aiVector3D));
 	}
 
+
+	//until we have support for bitangents, no tangents will be written
+	/*
 	//Tangents
 	if(theSubMesh.HasTangents)
 	{
 		NewAiMesh->mTangents=new aiVector3D[theSubMesh.Tangents.size()];
 		memcpy(NewAiMesh->mTangents, &theSubMesh.Tangents[0], theSubMesh.Tangents.size()*sizeof(aiVector3D));
 	}
+	*/
 
 	//Uvs
 	if(0!=theSubMesh.NumUvs)
@@ -776,6 +780,8 @@ void OgreImporter::LoadSkeleton(std::string FileName, vector<Bone> &Bones, vecto
 					{
 						XmlRead(SkeletonFile);
 
+						//If any property doesn't show up, it will keep its initialization value
+
 						//Position:
 						if(string("translate")==SkeletonFile->getNodeName())
 						{