Corrected return value of save function (zero is no error)

This commit is contained in:
Paolo Cignoni 2006-09-18 08:55:33 +00:00
parent bb8cf89b85
commit 7310eb3f58
1 changed files with 4 additions and 1 deletions

View File

@ -25,6 +25,9 @@
History
$Log: not supported by cvs2svn $
Revision 1.7 2006/01/30 13:43:59 cignoni
Added GetExportMaskCapability
Revision 1.6 2006/01/13 15:47:43 cignoni
Uniformed return type to the style of Open. Now every export function returns 0 in case of success.
@ -123,7 +126,7 @@ static int Save(SaveMeshType &m, const char * filename , bool binary =true, cons
fprintf(fp,"endsolid vcg\n");
}
fclose(fp);
return true;
return 0;
}
static const char *ErrorMsg(int error)
{