VOXELFORMAT: fixed save format list

master
Martin Gerhardy 2022-03-08 17:07:42 +01:00
parent 7f83d4c061
commit 39945096d7
2 changed files with 2 additions and 3 deletions

View File

@ -41,4 +41,4 @@ Exporting to ply and obj is also supported. A few [cvars](Configuration.md) exis
* `voxformat_withcolor`: Export vertex colors
* `voxformat_withtexcoords`: Export texture coordinates
Basic voxelization is supported for obj files, too.
Basic voxelization is supported for obj and stl files, too.

View File

@ -90,10 +90,9 @@ const io::FormatDescription SUPPORTED_VOXEL_FORMATS_SAVE[] = {
//{"Build engine", "kvx", nullptr, 0u},
{"Tiberian Sun", "vxl", nullptr, 0u},
{"Qubicle Exchange", "qef", nullptr, 0u},
{"WaveFront OBJ", "obj", nullptr, 0u},
{"Polygon File Format", "ply", nullptr, 0u},
{"Wavefront Object", "obj", nullptr, VOX_FORMAT_FLAG_MESH},
{"Polygon File Format", "ply", nullptr, VOX_FORMAT_FLAG_MESH},
{"Standard Triangle Language", "stl", nullptr, VOX_FORMAT_FLAG_MESH},
{nullptr, nullptr, nullptr, 0u}
};