فهرست منبع

size_t cannot be less than 0

Gordon MacPherson 6 سال پیش
والد
کامیت
ad971468ef
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      code/FBX/FBXMeshGeometry.cpp

+ 1 - 1
code/FBX/FBXMeshGeometry.cpp

@@ -610,7 +610,7 @@ void MeshGeometry::ReadVertexDataMaterials(std::vector<int>& materials_out, cons
     const std::string& ReferenceInformationType)
 {
     const size_t face_count = m_faces.size();
-    if(face_count <= 0)
+    if(face_count == 0)
     {
         return;
     }