diff options
author | Ton Roosendaal <ton@blender.org> | 2010-12-14 21:02:41 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2010-12-14 21:02:41 +0300 |
commit | 9ac68ad4abf2f4bb4fc92c292170a7cf6c29b319 (patch) | |
tree | 128b666894274882e649418e8af2a81d25ce133f /source/blender/imbuf/IMB_imbuf_types.h | |
parent | 73ea636abb6f9d4d25155f630ac606973e9bf335 (diff) |
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.
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf_types.h')
-rw-r--r-- | source/blender/imbuf/IMB_imbuf_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/imbuf/IMB_imbuf_types.h b/source/blender/imbuf/IMB_imbuf_types.h index a12976fa813..f60c6d03547 100644 --- a/source/blender/imbuf/IMB_imbuf_types.h +++ b/source/blender/imbuf/IMB_imbuf_types.h @@ -131,11 +131,12 @@ typedef struct ImBuf { /* Moved from BKE_bmfont_types.h because it is a userflag bit mask. */ /** - * \brief Flags used internally by blender for imagebuffers + * \brief userflags: Flags used internally by blender for imagebuffers */ #define IB_BITMAPFONT (1 << 0) /* this image is a font */ #define IB_BITMAPDIRTY (1 << 1) /* image needs to be saved is not the same as filename */ +#define IB_MIPMAP_INVALID (1 << 2) /* image mipmaps are invalid, need recreate */ /* From iff.h. This was once moved away by Frank, now Nzc moves it * back. Such is the way it is... It is a long list of defines, and |