- removed bug on LoadMask

: from if (oi.numTexCoords == oi.numVertices) to if (oi.numNormals == oi.numVertices)
This commit is contained in:
granzuglia 2013-01-24 11:43:43 +00:00
parent 69ca459335
commit a6f71e32dd
1 changed files with 1 additions and 1 deletions

View File

@ -920,7 +920,7 @@ namespace vcg {
if(bHasPerFaceColor) oi.mask |= vcg::tri::io::Mask::IOM_FACECOLOR;
if(bHasPerVertexColor) oi.mask |= vcg::tri::io::Mask::IOM_VERTCOLOR;
if (bHasNormals) {
if (oi.numTexCoords==oi.numVertices)
if (oi.numNormals == oi.numVertices)
oi.mask |= vcg::tri::io::Mask::IOM_VERTNORMAL;
else
oi.mask |= vcg::tri::io::Mask::IOM_WEDGNORMAL;