pass image description to image loading functions for more useful error than 'Unknown fileformat'.

This commit is contained in:
2011-10-27 04:24:34 +00:00
parent 31d401613d
commit fa6e6e7fc0
9 changed files with 51 additions and 50 deletions

View File

@@ -130,7 +130,7 @@ LIBEXPORT short saveiff(struct ImBuf *ib,
LIBEXPORT struct ImBuf *loadifffile(int a,
int b)
{
return IMB_loadifffile(a, b);
return IMB_loadifffile(a, b, "loadifffile");
}
LIBEXPORT struct ImBuf *loadiffname(char *n,