[Bf-committers] UI/RNA question

Jason Wilkins jason.a.wilkins at gmail.com
Sat Feb 18 11:25:18 CET 2012


I'm looking at onion and comparing it to your patch it looks like I
did something very similar by adding an ob_mode argument to add_brush.

Maybe that is why I'm confused about what the big deal is since I'm
probably thinking about the state of onion branch and not trunk.

On Fri, Feb 17, 2012 at 11:23 PM, Nicholas Bishop
<nicholasbishop at gmail.com> wrote:
>> 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
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers


More information about the Bf-committers mailing list