mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-15 09:04:36 +00:00
Use bitand instead of logical AND for bitmask
This commit is contained in:
parent
f6c6675baa
commit
445cc30ada
@ -363,7 +363,7 @@ bool BaseMeshIOPlugin::save(const QString &formatName, const QString &fileName,
|
||||
}
|
||||
if (formatName.toUpper() == tr("OFF"))
|
||||
{
|
||||
if (mask && tri::io::Mask::IOM_BITPOLYGONAL)
|
||||
if (mask & tri::io::Mask::IOM_BITPOLYGONAL)
|
||||
m.updateDataMask(MeshModel::MM_FACEFACETOPO);
|
||||
int result = tri::io::ExporterOFF<CMeshO>::Save(m.cm, filename.c_str(), mask);
|
||||
if (result != 0)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user