Fix load mask initialization
This commit is contained in:
parent
b245068038
commit
5de5d58ed8
|
|
@ -24,6 +24,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
||||||
|
Revision 1.35 2006/02/09 16:12:27 corsini
|
||||||
|
Add normal, color, texture information
|
||||||
|
|
||||||
Revision 1.34 2006/02/06 12:59:12 corsini
|
Revision 1.34 2006/02/06 12:59:12 corsini
|
||||||
Fix mesh info structure initialization
|
Fix mesh info structure initialization
|
||||||
|
|
||||||
|
|
@ -270,7 +273,7 @@ int OpenMesh(const char *filename, CMesh &m)
|
||||||
{
|
{
|
||||||
printf(" Mesh loading...");
|
printf(" Mesh loading...");
|
||||||
|
|
||||||
int mask;
|
int mask = 0;
|
||||||
int err = tri::io::Importer<CMesh>::Open(m, filename, mask);
|
int err = tri::io::Importer<CMesh>::Open(m, filename, mask);
|
||||||
|
|
||||||
if (err)
|
if (err)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue