Blender Git Loki

Git Commits -> Revision 3b5b761

Revision 3b5b761 by Jason Wilkins (master)
July 22, 2010, 18:56 (GMT)
== Sculpt/Paint Fixes ==
* Fix: unify strength and size did work consistently with other paint modes
* Fix: If [ and ] keys were used to resize a brush it was not possible to increase the size of the brush if it went under 10 pixels
* Fix: Made interpretation of brush size consistent across all modes, Texture/Image paint interpreted brush size as the diameter while all the other modes interpret it as radius
* Fix: The default spacing for vertex paint brushes was 3%, should be 10%
* Fix: due to fixes to unified strength, re-enabled 'Unify Size' by default
* Fix: Unified size and strength were stored in UserPrefs, moved this to ToolSettings
* Fix: The setting of pressure sensitivity was not unified when strength or size were unified. Now the appropriate pressure sensitivity setting is also unified across all brushes when corresponding unification option is selected
* Fix: When using [ and ] to resize the brush it didn't immediately redraw
* Fix: fkey resizing/"re-strength-ing" was not working consistently accross all paint modes due to only sculpt mode having full support for unified size and strength, now it works properly.
* Fix: other paint modes did expose the ability to have a custom brush colors, so I added the small bit of code to allow it. Note: I made all of the other paint mode brushes white. Note2: Actually, probably want to make the paint modes use the selected color for painting instead of a constant brush color.
* I had removed OPTYPE_REGISTER from some Sculpt/Paint operators but in this commit I add them back. I'm not completely sure what this option does so I don't want to disturb it for now.


Commit Details:

Full Hash: 3b5b761a56424987790bd1aad6fcb9ac1f0a281b
SVN Revision: 30637
Parent Commit: 528cce4
Lines Changed: +5371, -5015

18 Modified Paths:

/release/scripts/ui/space_view3d_toolbar.py (+53, -36) (Diff)
/source/blender/blenkernel/BKE_brush.h (+17, -7) (Diff)
/source/blender/blenkernel/intern/brush.c (+302, -46) (Diff)
/source/blender/blenloader/intern/readfile.c (+15, -0) (Diff)
/source/blender/editors/datafiles/startup.blend.c (+4717, -4705) (Diff)
/source/blender/editors/interface/resources.c (+0, -13) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+53, -45) (Diff)
/source/blender/editors/sculpt_paint/paint_ops.c (+33, -13) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+30, -28) (Diff)
/source/blender/editors/sculpt_paint/paint_utils.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+11, -11) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+30, -67) (Diff)
/source/blender/editors/space_image/image_draw.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+13, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+2, -9) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+83, -4) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+0, -29) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021