Fix for image garbage collection failing to run for render-only views
authorCampbell Barton <ideasman42@gmail.com>
Thu, 22 May 2014 01:58:07 +0000 (11:58 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 22 May 2014 01:58:07 +0000 (11:58 +1000)
commit049b6cfa6ddcc44d8001804922f041367f3051c6
treec57f4aec1f85b037009036c22109b2a3330acdb3
parent90db85a26301216d11c2adc956046b276ce8ef5f
Fix for image garbage collection failing to run for render-only views

Check for freeing old images was running per-object, move this to viewport drawing.
source/blender/blenkernel/BKE_image.h
source/blender/blenkernel/intern/image.c
source/blender/editors/space_view3d/drawobject.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/gpu/GPU_draw.h
source/blender/gpu/intern/gpu_draw.c
source/blender/render/intern/source/render_texture.c