Add back sculpt mode brush keys.
authorCampbell Barton <ideasman42@gmail.com>
Fri, 1 Apr 2011 06:14:39 +0000 (06:14 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 1 Apr 2011 06:14:39 +0000 (06:14 +0000)
commitd2a3005dd0dfc583e14e7097ac690adb0ef28bb7
treef7457b2441936f53b7ab6b0a185729e43e6dbc1e
parentd4a9bc1c21b7949487a5855d4c6354f0bdc09f47
Add back sculpt mode brush keys.
Operator for switching brushes based on type, cycling through brushes when multiple exist.

This has the advantages over the old method that it doenst rely on hard coded brush names and if there are multiple brushes of the same type it cycles between them.

also fix error in previous commit which broke number buttons changing brushes.
release/scripts/startup/bl_operators/wm.py
source/blender/editors/sculpt_paint/paint_ops.c