[Bf-committers] Paint mask in python

Tobias Oelgarte tobias.oelgarte at googlemail.com
Sat May 26 14:03:20 CEST 2012

Thank you. Way to simple. ;-)

Am 26.05.2012 13:13, schrieb Campbell Barton:
> 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

More information about the Bf-committers mailing list