diff --git a/include/tntn/FileFormat.h b/include/tntn/FileFormat.h index 6253585..dac429d 100644 --- a/include/tntn/FileFormat.h +++ b/include/tntn/FileFormat.h @@ -114,8 +114,8 @@ class FileFormat switch(m_value) { case OBJ: //fallthrough - case OFF: //fallthrough - case TERRAIN: return MeshMode::decomposed; + case OFF: return MeshMode::decomposed; + case TERRAIN: return MeshMode::triangles; default: return MeshMode::none; } }