Skip to content

Commit 2cebb52

Browse files
committed
default to triangle mesh mode when generating a single .terrain file
Signed-off-by: Julian Fell <[email protected]>
1 parent 59b7ac7 commit 2cebb52

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
@@ -114,8 +114,8 @@ class FileFormat
114114
switch(m_value)
115115
{
116116
case OBJ: //fallthrough
117-
case OFF: //fallthrough
118-
case TERRAIN: return MeshMode::decomposed;
117+
case OFF: return MeshMode::decomposed;
118+
case TERRAIN: return MeshMode::triangles;
119119
default: return MeshMode::none;
120120
}
121121
}

0 commit comments

Comments
 (0)