catch exception and report an error when failing to write exr files - was crashing...
[blender-staging.git] / source / blender / imbuf / intern / writeimage.c
index cd660e11f26329dbb1d013c5ce7db9a130aa6268..b933e6d93ee3d1581ade495a7801322451d40472 100644 (file)
@@ -55,7 +55,6 @@ short IMB_saveiff(struct ImBuf *ibuf, const char *name, int flags)
                                if(ibuf->rect==NULL && ibuf->rect_float)
                                        IMB_rect_from_float(ibuf);
                        }
-                       /* TODO. have const char for image write funcs */
                        return type->save(ibuf, name, flags);
                }
        }