[Bf-committers] Paint mask in python

Campbell Barton ideasman42 at gmail.com
Sat May 26 13:13:09 CEST 2012


All this does is enables polygon selection to be used while painting:
eg:
  bpy.context.object.data.polygons[i].select

On Sat, May 26, 2012 at 11:39 AM, Tobias Oelgarte
<tobias.oelgarte at googlemail.com> wrote:
> Hello,
>
> Is there some way to access the weightpaint mask (enabled with
> Mesh.use_paint_mask) from python? I found a bunch of operators to modify
> it, but i didn't find any way to access it from python; like a simple
> test if a vertex is inside the masked region.
>
> Can someone tell me if it is implement and how it can be accessed if
> possible? I'm writing on some operators to improve weight painting, but
> it would be nice to have this information.
>
> Greetings from
> Tobias Oelgarte
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers



-- 
- Campbell


More information about the Bf-committers mailing list