Texture paint refactoring commit
authorAntony Riakiotakis <kalast@gmail.com>
Wed, 6 Mar 2013 19:54:43 +0000 (19:54 +0000)
committerAntony Riakiotakis <kalast@gmail.com>
Wed, 6 Mar 2013 19:54:43 +0000 (19:54 +0000)
commit8676530b7d035d9ecb4e518d084790a4d305ec35
tree1ebb9b884a75096c52876cf705800c3ce8bea55b
parentc75065136c03a4cb65709c87b66579190c6bdeee
Texture paint refactoring commit

Adding new file paint_image_proj.c which includes the projective texture painting part of texture
painting, using the stroke system. To access the new code path use Shift-LClick.
The new code path still is problematic with tablet pressure and I will be looking
into ways to unify this across paint systems next.

The old code is still present and can be accessed by regular Lclick as usual.

Also removed 3D (non-projective) painting from 3D viewport.

TODO:
* Add pressure influence code to stroke, remove from every other paint
system code, including texpaint.
* Put UnifiedPaintSettings update in PaintStroke code.
release/scripts/startup/bl_ui/space_view3d_toolbar.py
source/blender/editors/sculpt_paint/CMakeLists.txt
source/blender/editors/sculpt_paint/paint_image.c
source/blender/editors/sculpt_paint/paint_image_proj.c [new file with mode: 0644]
source/blender/editors/sculpt_paint/paint_intern.h
source/blender/editors/sculpt_paint/paint_ops.c
source/blender/editors/sculpt_paint/paint_stroke.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/makesdna/DNA_scene_types.h
source/blender/makesrna/intern/rna_sculpt_paint.c