diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-02-04 20:48:47 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-02-04 20:48:55 +0300 |
commit | f75d2fdd24ed0a8633682dadd57ca9b9929dd4f4 (patch) | |
tree | 89a2f1e171e7f0bbd98c9fe348ebdee647ef9203 /source/blender/blenkernel/intern/image.c | |
parent | 4339caf7cb95340dcdc7c050af46916ed1b34811 (diff) |
Port fix from gooseberry that doesn't load the full res file if a proxy
is requested.
Diffstat (limited to 'source/blender/blenkernel/intern/image.c')
-rw-r--r-- | source/blender/blenkernel/intern/image.c | 8 |
1 files changed, 8 insertions, 0 deletions
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]) { |