diff --git a/source/blender/blenkernel/intern/image.cc b/source/blender/blenkernel/intern/image.cc index 1ed4b5936a5..bcb46c2e1d7 100644 --- a/source/blender/blenkernel/intern/image.cc +++ b/source/blender/blenkernel/intern/image.cc @@ -2689,12 +2689,15 @@ ImBufAnim *openanim(const char *filepath, ibuf = IMB_anim_absolute(anim, 0, IMB_TC_NONE, IMB_PROXY_NONE); if (ibuf == nullptr) { - if (BLI_exists(filepath)) { - printf("not an anim: %s\n", filepath); + const char *reason; + if (!BLI_exists(filepath)) { + reason = "file doesn't exist"; } else { - printf("anim file doesn't exist: %s\n", filepath); + reason = "not an anim"; } + CLOG_INFO(&LOG, 1, "unable to load anim, %s: %s", reason, filepath); + IMB_free_anim(anim); return nullptr; } diff --git a/source/blender/imbuf/intern/thumbs.cc b/source/blender/imbuf/intern/thumbs.cc index 254ee0dcb0b..4d769eabcfc 100644 --- a/source/blender/imbuf/intern/thumbs.cc +++ b/source/blender/imbuf/intern/thumbs.cc @@ -396,7 +396,7 @@ static ImBuf *thumb_create_ex(const char *file_path, if (anim != nullptr) { img = IMB_anim_absolute(anim, 0, IMB_TC_NONE, IMB_PROXY_NONE); if (img == nullptr) { - printf("not an anim; %s\n", file_path); + // printf("not an anim; %s\n", file_path); } else { IMB_freeImBuf(img);