Blender Git Loki
Git Commits -> Revision cb3c0d9
Revision cb3c0d9 by Antonis Ryakiotakis (soc-2013-paint) July 19, 2013, 15:27 (GMT) |
Enable brush space attenuation for image painting as well as sculpting. This makes it so that when using space with accumulate option, the strength of the brush is attemuated to account for overlapping dabbing of the brush. This way you don't get overblown areas while painting, while still being able to paint over the same region repeatedly. To enable this calculation, click on the lock icon next to the strength of the brush when "accumulate" is selected. This commit moves the attenuation factor calculation outside of sculpt code and on stroke level. It also optimizes the curve integration to only happen if the correct modes are enabled, while on sculpting it occured always. |
Commit Details:
Full Hash: cb3c0d9291c6fabd75a586c7a82da5bbcba513d8
SVN Revision: 58409
Parent Commit: db016f0
Lines Changed: +101, -64
9 Modified Paths:
/release/scripts/startup/bl_ui/space_image.py (+6, -0) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+7, -0) (Diff)
/source/blender/blenkernel/intern/paint.c (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+4, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+62, -6) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+7, -50) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+6, -3) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+7, -3) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+7, -0) (Diff)
/source/blender/blenkernel/intern/paint.c (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+4, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+62, -6) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+7, -50) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+6, -3) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+7, -3) (Diff)