Commented out strange abort in WriteMaterials()

This commit is contained in:
Marco Di Benedetto 2007-02-16 21:12:13 +00:00
parent 34495aea67
commit e8df3af443
1 changed files with 4 additions and 1 deletions

View File

@ -25,6 +25,9 @@
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.6 2006/12/07 00:37:58 cignoni
Corrected bug in the management of deleted vertices
Revision 1.5 2006/10/09 19:58:08 cignoni Revision 1.5 2006/10/09 19:58:08 cignoni
Added casts to remove warnings Added casts to remove warnings
@ -410,7 +413,7 @@ namespace io {
if (cb !=NULL) if (cb !=NULL)
(*cb)((100 * ++current)/materials.size(), "saving material file "); (*cb)((100 * ++current)/materials.size(), "saving material file ");
else else
{ fclose(fp); return E_ABORTED;} { /* fclose(fp); return E_ABORTED; */ }
fprintf(fp,"newmtl material_%d\n",materials[i].index); fprintf(fp,"newmtl material_%d\n",materials[i].index);
fprintf(fp,"Ka %f %f %f\n",materials[i].Ka[0],materials[i].Ka[1],materials[i].Ka[2]); fprintf(fp,"Ka %f %f %f\n",materials[i].Ka[0],materials[i].Ka[1],materials[i].Ka[2]);