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:
authorCampbell Barton <ideasman42@gmail.com>2010-07-15 00:52:04 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-07-15 00:52:04 +0400
commitdd3f9cff91be36c48d24a3d6124727ea83234a1c (patch)
tree72d5de22584f2062c07215b2221d455450464935 /source/blender/imbuf/intern/thumbs_blend.c
parent64875e9fda7bf0c78a535e9ea354c37d8f113019 (diff)
patch from Goran Milovanovic for the BGE python api.
camera.ortho_scale (use when in ortho mode only) (own previous commit incorrectly removed thumb metadata from new imbuf)
Diffstat (limited to 'source/blender/imbuf/intern/thumbs_blend.c')
-rw-r--r--source/blender/imbuf/intern/thumbs_blend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/thumbs_blend.c b/source/blender/imbuf/intern/thumbs_blend.c
index 2b55e87546a..7f1c903e9de 100644
--- a/source/blender/imbuf/intern/thumbs_blend.c
+++ b/source/blender/imbuf/intern/thumbs_blend.c
@@ -121,7 +121,7 @@ static ImBuf *loadblend_thumb(gzFile gzfile)
return NULL;
/* finally malloc and read the data */
- img= IMB_allocImBuf(x, y, 32, IB_rect, 0);
+ img= IMB_allocImBuf(x, y, 32, IB_rect | IB_metadata, 0);
if(gzread(gzfile, img->rect, len) != len) {
IMB_freeImBuf(img);