Kaynağa Gözat

- fbx: fix bug that caused normals to be wrong.

Alexander Gessler 13 yıl önce
ebeveyn
işleme
6e6dbe97de
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      code/FBXConverter.cpp

+ 1 - 1
code/FBXConverter.cpp

@@ -259,7 +259,7 @@ private:
 		}
 
 		// copy normals
-		const std::vector<aiVector3D>& normals = mesh.GetVertices();
+		const std::vector<aiVector3D>& normals = mesh.GetNormals();
 		if(normals.size()) {
 			ai_assert(normals.size() == vertices.size());