Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2015-02-04 20:48:47 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-02-04 20:48:55 +0300
commitf75d2fdd24ed0a8633682dadd57ca9b9929dd4f4 (patch)
tree89a2f1e171e7f0bbd98c9fe348ebdee647ef9203 /source/blender/blenkernel/intern/image.c
parent4339caf7cb95340dcdc7c050af46916ed1b34811 (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.c8
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])
{