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-08-25 06:32:02 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-25 06:32:02 +0400
commita992fec4e7d6a47bbffb5a9cdc69677b57cba6cf (patch)
treec42d08e4ed514449891e3bc7e976330e715bedeb /source/blender/gpu
parenta42c490a04ff06c4baeb3fb43c96767a17e4d960 (diff)
bugfix
- image filepath in the image view would only be set when first loading a frame. - check to free animated image buffers on opengl render was comparing against the wrong value.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c
index 4c477db627e..798bf5f86ff 100644
--- a/source/blender/gpu/intern/gpu_draw.c
+++ b/source/blender/gpu/intern/gpu_draw.c
@@ -861,7 +861,7 @@ void GPU_free_images_anim(void)
if(G.main)
for(ima=G.main->image.first; ima; ima=ima->id.next)
- if(ELEM(ima->type, IMA_SRC_SEQUENCE, IMA_SRC_MOVIE))
+ if(ELEM(ima->source, IMA_SRC_SEQUENCE, IMA_SRC_MOVIE))
GPU_free_image(ima);
}