From f75d2fdd24ed0a8633682dadd57ca9b9929dd4f4 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Wed, 4 Feb 2015 18:48:47 +0100 Subject: Port fix from gooseberry that doesn't load the full res file if a proxy is requested. --- source/blender/blenkernel/intern/image.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/blender/blenkernel/intern/image.c') diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c index b405e0a6240..b130372a20c 100644 --- a/source/blender/blenkernel/intern/image.c +++ b/source/blender/blenkernel/intern/image.c @@ -2107,6 +2107,14 @@ void BKE_image_path_from_imtype( image_path_makepicstring(string, base, relbase, frame, imtype, NULL, use_ext, use_frames); } +struct anim *openanim_noload(const char *name, int flags, int streamindex, char colorspace[IMA_MAX_SPACE]) +{ + struct anim *anim; + + anim = IMB_open_anim(name, flags, streamindex, colorspace); + return anim; +} + /* used by sequencer too */ struct anim *openanim(const char *name, int flags, int streamindex, char colorspace[IMA_MAX_SPACE]) { -- cgit v1.2.3