Skip to content

Commit 654a939

Browse files
committed
Default to triangle mesh mode when generating a single .terrain file heremaps#67
2 parents b64f657 + 866300f commit 654a939

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/tntn/FileFormat.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ class FileFormat
119119
switch(m_value)
120120
{
121121
case OBJ: //fallthrough
122-
case OFF: //fallthrough
123-
case TERRAIN: return MeshMode::decomposed;
122+
case OFF: return MeshMode::decomposed;
123+
case TERRAIN: return MeshMode::triangles;
124124
default: return MeshMode::none;
125125
}
126126
}

0 commit comments

Comments
 (0)