Bug fix own collection:
authorSergey Sharybin <sergey.vfx@gmail.com>
Sun, 8 May 2011 20:21:31 +0000 (20:21 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sun, 8 May 2011 20:21:31 +0000 (20:21 +0000)
commitf8f4f73cc5e6dfdc2a4f8864a3e1edc2639e6fb2
tree7c48925e16389e296a47d764b74c515794fc918a
parentb43252079953e6eefad092927e578c80f695d788
Bug fix own collection:
 - Recreate mipmaps if they're dirty when drawing background image
   (this prevents "delayed" update of background image when you're paiting on it
    in image editor).
 - Mark mipmaps as dirty when inverting image channels.

TODO: there's memory leak caused by IMB_remakemipmap, but it'll be
      anuther bugfix commit after discussion with other devs.
source/blender/editors/space_image/image_ops.c
source/blender/editors/space_view3d/view3d_draw.c