diff options
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_image_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_image_api.c b/source/blender/makesrna/intern/rna_image_api.c index 71c0fa5584c..bcf75df31ed 100644 --- a/source/blender/makesrna/intern/rna_image_api.c +++ b/source/blender/makesrna/intern/rna_image_api.c @@ -166,7 +166,7 @@ static void rna_Image_unpack(Image *image, ReportList *reports, int method) if (!image->packedfile) { BKE_report(reports, RPT_ERROR, "Image not packed"); } - else if (image->source == IMA_SRC_SEQUENCE || image->source == IMA_SRC_MOVIE) { + else if (BKE_image_is_animated(image)) { BKE_report(reports, RPT_ERROR, "Unpacking movies or image sequences not supported"); return; } |