From 14c973f44b5f63dc0ca09321b78106e1ddf799f0 Mon Sep 17 00:00:00 2001 From: Max Lyon Date: Wed, 22 Feb 2023 13:12:31 +0100 Subject: [PATCH] Write custom properties to file by default --- src/OpenMesh/Core/IO/Options.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/OpenMesh/Core/IO/Options.hh b/src/OpenMesh/Core/IO/Options.hh index 01ae5fee..af1e0ed8 100644 --- a/src/OpenMesh/Core/IO/Options.hh +++ b/src/OpenMesh/Core/IO/Options.hh @@ -97,7 +97,7 @@ public: /// Definitions of %Options for reading and writing. The options can be /// or'ed. enum Flag { - Default = 0x0000, ///< No options + None = 0x0000, ///< No options Binary = 0x0001, ///< Set binary mode for r/w MSB = 0x0002, ///< Assume big endian byte ordering LSB = 0x0004, ///< Assume little endian byte ordering @@ -113,7 +113,8 @@ public: ColorFloat = 0x1000, ///< Has (r) / store (w) float values for colors (currently only implemented for PLY and OFF files) Custom = 0x2000, ///< Has (r) / store (w) custom properties marked persistent (currently PLY only supports reading and only ASCII version. OM supports reading and writing) Status = 0x4000, ///< Has (r) / store (w) status properties - TexCoordST = 0x8000 ///< Write texture coordinates as ST instead of UV + TexCoordST = 0x8000, ///< Write texture coordinates as ST instead of UV + Default = Custom, ///< By default write persistent custom properties }; /// Texture filename. This will be written as