diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-01-18 14:46:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-01-18 14:46:19 +0300 |
commit | b9fd903e8e4f2ad8892ec37b78dce8ef47eb0169 (patch) | |
tree | 7871bd8c64ec2f294804ee9cef60e4c4baa60032 /source | |
parent | 04230ae5921126103ebc4726ed452fdcd5183bb3 (diff) |
make the animation read error message say if the file wasnt found.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/image.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c index 464f4a2875f..b9be4602345 100644 --- a/source/blender/blenkernel/intern/image.c +++ b/source/blender/blenkernel/intern/image.c @@ -1449,7 +1449,10 @@ struct anim *openanim(char *name, int flags) ibuf = IMB_anim_absolute(anim, 0); if (ibuf == NULL) { - printf("not an anim; %s\n", name); + if(BLI_exists(name)) + printf("not an anim: %s\n", name); + else + printf("anim file doesn't exist: %s\n", name); IMB_free_anim(anim); return(0); } |