Fix #35364: sculpting - D shortcut inconsistency
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 15 May 2013 11:10:59 +0000 (11:10 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 15 May 2013 11:10:59 +0000 (11:10 +0000)
commite1cb4aade83dbee536e75fb15d64905c918d045d
treedd0d842890dc1efe7bcbfd26db25c4c072c2caf0
parent417ca7b451d3de168342c78449b54d8474e86125
Fix #35364: sculpting - D shortcut inconsistency

Switching to tool will cycle via all brushes with given type
only in case current brush tool matches requested one.

This means, when user requests brush with different type,
first brush of that tool will be activated. But further
toggling to the same tool will cycle via all acceptable
brushes.
source/blender/editors/sculpt_paint/paint_ops.c