mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 08:09:39 +00:00
- refined again the default output bits
This commit is contained in:
parent
accb7a7cb8
commit
7e58211ef2
@ -165,17 +165,17 @@ void U3DIOPlugin::GetExportMaskCapability(QString &format, int &capability, int
|
||||
if(format.toUpper() == tr("U3D"))
|
||||
{
|
||||
capability = defaultBits = vcg::tri::io::ExporterU3D<CMeshO>::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<CMeshO>::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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user