Added mask clamping to the effective capabilities of the mesh
This commit is contained in:
parent
f641f1cd17
commit
a6d3a2c1ea
|
@ -25,6 +25,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
||||||
|
Revision 1.5 2006/04/11 09:48:00 zifnab1974
|
||||||
|
changes needed for compilation on linux 64b with gcc 3.4.5
|
||||||
|
|
||||||
Revision 1.4 2006/03/29 09:27:07 cignoni
|
Revision 1.4 2006/03/29 09:27:07 cignoni
|
||||||
Added managemnt of non critical errors
|
Added managemnt of non critical errors
|
||||||
|
|
||||||
|
@ -239,6 +242,8 @@ static int Open( OpenMeshType &m, const char * filename, Info &oi)
|
||||||
if (oi.mask == -1)
|
if (oi.mask == -1)
|
||||||
LoadMask(filename, oi);
|
LoadMask(filename, oi);
|
||||||
|
|
||||||
|
Mask::ClampMask<OpenMeshType>(m,oi.mask);
|
||||||
|
|
||||||
if (oi.numVertices == 0)
|
if (oi.numVertices == 0)
|
||||||
return E_NO_VERTEX;
|
return E_NO_VERTEX;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue