[Bf-committers] [Bf-commiters] Patch for API PAINT_ rename

Campbell Barton ideasman42 at gmail.com
Thu Apr 15 13:12:00 CEST 2010


Really need to test this patch because it wouldn't have worked in the
most simple case.
strings in screen_context.c need updating, however this whole topic
isn't that straightforward :S

For mode strings we could drop the PAINT altogether since you don't
JUST paint with these modes. eg.
 'VERTEX_PAINT' -> 'VERTEX_COLOR'
 'WEIGHT_PAINT' -> 'WEIGHT'
 'TEXTURE_PAINT' -> 'TEXTURE'
 'SCULPT', 'EDIT' (keep as is)

# within the context it makes sense
if obj.mode == 'TEXTURE':
 ....

Don't have much time to discuss, for a less complicated one you could
look at View3D vs 3DView - (Would pick View3D)


On Thu, Apr 15, 2010 at 12:54 PM, Jonathan Smith <j.jaydez at gmail.com> wrote:
> After talking with Cambell some more on the IRC I revised my patch(if you
> can even call it that.) a fair amount, hopefully this time it will work. I'm
> very sorry for my ignorance.. :S
>
> Jonathan
>
> _______________________________________________
> 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