浏览代码

Merge pull request #3208 from assimp/issue_3186

Remove duplicate flag
Kim Kulling 5 年之前
父节点
当前提交
d8bb6e446a
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      test/unit/utTriangulate.cpp

+ 1 - 2
test/unit/utTriangulate.cpp

@@ -65,8 +65,7 @@ void TriangulateProcessTest::SetUp() {
     pcMesh->mFaces = new aiFace[1000];
     pcMesh->mVertices = new aiVector3D[10000];
 
-    pcMesh->mPrimitiveTypes = aiPrimitiveType_POINT | aiPrimitiveType_LINE |
-                              aiPrimitiveType_LINE | aiPrimitiveType_POLYGON;
+    pcMesh->mPrimitiveTypes = aiPrimitiveType_POINT | aiPrimitiveType_LINE | aiPrimitiveType_POLYGON;
 
     for (unsigned int m = 0, t = 0, q = 4; m < 1000; ++m) {
         ++t;