Blender Git Loki
Git Commits -> Revision 8676530
Revision 8676530 by Antonis Ryakiotakis (master) March 6, 2013, 19:54 (GMT) |
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. |
Commit Details:
Full Hash: 8676530b7d035d9ecb4e518d084790a4d305ec35
SVN Revision: 55081
Parent Commit: c750651
Lines Changed: +5199, -35
1 Added Path:
/source/blender/editors/sculpt_paint/paint_image_proj.c (+5187, -0) (View)
9 Modified Paths:
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+0, -9) (Diff)
/source/blender/editors/sculpt_paint/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+3, -13) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+3, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+2, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+2, -1) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+0, -5) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+0, -1) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+1, -6) (Diff)
/source/blender/editors/sculpt_paint/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+3, -13) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+3, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+2, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+2, -1) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+0, -5) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+0, -1) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+1, -6) (Diff)