ImagePaint Refactoring:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 31 Jul 2006 15:53:03 +0000 (15:53 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 31 Jul 2006 15:53:03 +0000 (15:53 +0000)
commite168d67b3205977777715f143554a15f259c0a40
tree4f80d467e17004a7ec0084a449c0b8e6ec4b06cd
parent6bc2ada6fcaa7eb50cd211450039f4912d5c6390
ImagePaint Refactoring:
- ImagePaint now uses ImBuf directly, and the rect blending functions
  were moved into the imbuf module.
- The brush spacing, timing and sampling was abstracted into brush.c, for
  later reuse in other paint modes.

Float ImagePaint support.

Textured Brushes:
- Only the first texture channel is used now.
- Options for size and offset should be added, but need to find some space
  in the panel, or add a second one ..
19 files changed:
source/blender/blenkernel/BKE_brush.h
source/blender/blenkernel/bad_level_call_stubs/stubs.c
source/blender/blenkernel/intern/brush.c
source/blender/blenkernel/intern/texture.c
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/imbuf/IMB_imbuf.h
source/blender/imbuf/intern/rectop.c
source/blender/include/blendef.h
source/blender/include/butspace.h
source/blender/makesdna/DNA_brush_types.h
source/blender/render/extern/include/RE_render_ext.h
source/blender/render/intern/source/texture.c
source/blender/src/buttons_editing.c
source/blender/src/buttons_shading.c
source/blender/src/drawimage.c
source/blender/src/header_buttonswin.c
source/blender/src/headerbuttons.c
source/blender/src/imagepaint.c