Bugfix #26015
authorton <ton@954f8c5b-7b00-dc11-b283-0030488c597c>
Sat, 19 Feb 2011 14:32:34 +0000 (14:32 +0000)
committerton <ton@954f8c5b-7b00-dc11-b283-0030488c597c>
Sat, 19 Feb 2011 14:32:34 +0000 (14:32 +0000)
commita02a6b989ea0547d4a0f308c1ee2e9ab51cf0af9
tree214225aef064edce716f2456d811766925d6bd01
parent5471c52182fe61258d7c19bdd46290aa6fcb83f3
Bugfix #26015

A very Bad Bug!

On every draw-object, a function free_old_images() was called which
was freeing "unused" images during renders/bakes

This was a left-over from 2.4x code, missed it altogether.

I'm sure this fix will solve a lot of render crashing... :)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@34992 954f8c5b-7b00-dc11-b283-0030488c597c
source/blender/blenkernel/intern/image.c