Page MenuHome

Proposed solution for Vertex Group select in Weight/VertexColor Paint modes. (T43389)
Needs RevisionPublic

Authored by Marco Oman (marom) on Mar 2 2015, 10:55 PM.

Details

Summary

Here is my second attempt at T43389.

What I have placed in the diffs is the following:

  1. Added vertex selection mode (next to face selection) (view3d_header.c)
  2. A few fixes to make vertex selection doable with RMB (drawobject.c, paint.c)
  3. Enabled the Assign/Remove, Select/Deselect buttons on the vertex group panel (object_vgroup.c and properties_data_mesh.py)

In the original request the buttons Assign/remove were't mentioned but I think it make sense to have them too (and t's even easier to implement).

All this in Vertex Paint mode. I left out Texture Paint.

Diff Detail

Event Timeline

Marco Oman (marom) retitled this revision from to Proposed solution for Vertex Group select in Weight/VertexColor Paint modes. (T43389).
Marco Oman (marom) updated this object.
Campbell Barton (campbellbarton) requested changes to this revision.Mar 4 2015, 11:57 AM
Campbell Barton (campbellbarton) edited edge metadata.

Did you manage to test this patch? I can't imagine it would have been usable.

Vertex paint and texture paint don't currently have vertex selection,. this would need to be added first.

source/blender/editors/object/object_vgroup.c
2331

texture paint doesn't do vertex selection.

2332

code above checks for editmesh, this isnt needed.

This revision now requires changes to proceed.Mar 4 2015, 11:57 AM
Marco Oman (marom) updated this object.
Marco Oman (marom) edited edge metadata.

Hmmm, no news after a week. It is due to release rush or to the patch being rubbish?

Campbell Barton (campbellbarton) requested changes to this revision.Apr 22 2015, 4:14 PM
Campbell Barton (campbellbarton) edited edge metadata.

Vertex selection on its own works.

However painting isn't reading from the selection.
so the vertex painting code needs to be updated too.

This revision now requires changes to proceed.Apr 22 2015, 4:14 PM