From 7e58211ef29c3f55810688fbfc1687f069de5e2d Mon Sep 17 00:00:00 2001 From: Guido Ranzuglia granzuglia Date: Tue, 2 Jul 2013 09:18:12 +0000 Subject: [PATCH] - refined again the default output bits --- src/meshlabplugins/io_u3d/io_u3d.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/meshlabplugins/io_u3d/io_u3d.cpp b/src/meshlabplugins/io_u3d/io_u3d.cpp index f71a3dc3a..84abbe36e 100644 --- a/src/meshlabplugins/io_u3d/io_u3d.cpp +++ b/src/meshlabplugins/io_u3d/io_u3d.cpp @@ -165,17 +165,17 @@ void U3DIOPlugin::GetExportMaskCapability(QString &format, int &capability, int if(format.toUpper() == tr("U3D")) { capability = defaultBits = vcg::tri::io::ExporterU3D::GetExportMaskCapability(); - defaultBits &= vcg::tri::io::Mask::IOM_VERTNORMAL; - defaultBits &= vcg::tri::io::Mask::IOM_VERTCOLOR; - defaultBits &= vcg::tri::io::Mask::IOM_WEDGTEXCOORD; + defaultBits &= (~vcg::tri::io::Mask::IOM_VERTNORMAL); + defaultBits &= (~vcg::tri::io::Mask::IOM_VERTCOLOR); + defaultBits &= (~vcg::tri::io::Mask::IOM_FACECOLOR); return; } if(format.toUpper() == tr("IDTF")) { capability=defaultBits = vcg::tri::io::ExporterIDTF::GetExportMaskCapability(); - defaultBits &= vcg::tri::io::Mask::IOM_VERTNORMAL; - defaultBits &= vcg::tri::io::Mask::IOM_VERTCOLOR; - defaultBits &= vcg::tri::io::Mask::IOM_WEDGTEXCOORD; + defaultBits &= (~vcg::tri::io::Mask::IOM_VERTNORMAL); + defaultBits &= (~vcg::tri::io::Mask::IOM_VERTCOLOR); + defaultBits &= (~vcg::tri::io::Mask::IOM_FACECOLOR); return; }