[Bf-committers] UI/RNA question

Nicholas Bishop nicholasbishop at gmail.com
Sat Feb 18 06:23:37 CET 2012


> If the brush is enabled for both vpaint and sculpt modes then
> direction is supported for sculpting.

Right, this is indeed fine if we define the properties to be specific
to a single mode. Then (in Python) we can do
Brush.sculpt_capabilities.direction, or
Brush.vertexpaint_capabilities.direction. I was simply suggesting we
simplify this down to Brush.has_direction -- a change that would
require the brush to know which of its tools is active.

> Currently I do not think any brushes should be enabled for multiple
> modes because we do not support that.  If a brush has both bits set
> then it shouldn't be usable in any mode.

Our current default .blend does include brushes enabled in multiple
modes (BRDraw is in all modes.)

-Nicholas


More information about the Bf-committers mailing list