فهرست منبع

Something is wrong with SVN

Panagiotis Christopoulos Charitos 13 سال پیش
والد
کامیت
552204a6f8
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      include/anki/resource/Mesh.h

+ 1 - 2
include/anki/resource/Mesh.h

@@ -55,8 +55,7 @@ public:
 
 	U32 getIndicesCount() const
 	{
-		ANKI_ASSERT(meshProtected.subMeshes.size() > 0);
-		return meshProtected.subMeshes[0].indicesCount;
+		return meshProtected.indicesCount;
 	}
 
 	const Obb& getBoundingShape() const