Bugfix #22040
authorTon Roosendaal <ton@blender.org>
Tue, 14 Dec 2010 18:02:41 +0000 (18:02 +0000)
committerTon Roosendaal <ton@blender.org>
Tue, 14 Dec 2010 18:02:41 +0000 (18:02 +0000)
commit9ac68ad4abf2f4bb4fc92c292170a7cf6c29b319
tree128b666894274882e649418e8af2a81d25ce133f
parent73ea636abb6f9d4d25155f630ac606973e9bf335
Bugfix #22040

Old bug report:

Image Editor, Painting: crash when texture was visible in
Material or Texture preview. Was caused by paint code
freeing mipmaps. Now replaced with a mipmap tag (to be done
again), and a new mipmap function that doesn't re-allocate.
source/blender/editors/sculpt_paint/paint_image.c
source/blender/imbuf/IMB_imbuf.h
source/blender/imbuf/IMB_imbuf_types.h
source/blender/imbuf/intern/IMB_filter.h
source/blender/imbuf/intern/filter.c
source/blender/imbuf/intern/scaling.c
source/blender/render/intern/source/imagetexture.c