Skip to content

Commit

Permalink
Force add a MeshExport64.
Browse files Browse the repository at this point in the history
  • Loading branch information
fire committed Dec 4, 2024
1 parent 8359a8b commit 34b997e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions test/manifold_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ TEST(Manifold, PinchedVert) {
}

TEST(Manifold, MeshWithCustomProps) {
MeshGL complex;
MeshGL64 complex;
complex.numProp = 7;
complex.runOriginalID = {1};
complex.runIndex = {0, 144};
Expand Down Expand Up @@ -1677,13 +1677,8 @@ TEST(Manifold, MeshWithCustomProps) {
105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119,
120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
135, 136, 137, 138, 139, 140, 141, 142, 143};
complex.Merge();
Manifold manifold(complex);
#ifdef MANIFOLD_EXPORT
if (options.exportModels) {
ExportOptions options2;
ExportMesh("complex.glb", manifold.GetMeshGL(), options2);
}
#endif
EXPECT_FALSE(manifold.IsEmpty());
EXPECT_EQ(manifold.Status(), Manifold::Error::NoError);
EXPECT_EQ(manifold.NumTri(), 16);
Expand Down

0 comments on commit 34b997e

Please sign in to comment.