Maniphest T38573

Add an "Autoselect" Option to the Vertex Groups Panel
Closed, DuplicateDESIGN

Assigned To
Gaia Clary (gaiaclary)
Authored By
Gaia Clary (gaiaclary)
Feb 10 2014, 1:26 PM
Tags
  • Animation & Rigging
  • BF Blender
Subscribers
Ankit Meel (ankitm)
bassam kurdali (bassamk)
Bastien Montagne (mont29)
Brecht Van Lommel (brecht)
Campbell Barton (campbellbarton)
Gaia Clary (gaiaclary)
Jonathan Williamson (carter2422)
2 More Subscribers

Description

The "autoselect" option will automatically select all assigned verts when a vgroup is selected in edit mode.
The proposed behaviour when selecting a vgroup will be as follows:

autoselect disabled:

  • Selecting a vgroup with LMB will just select the group and do nothing else (current behaviour).

autoselect enabled:

  • Selecting a vgroup with LMB will select the group as before
  • All verts of the Mesh will be unselected
  • All verts assigned to the vgroup will be selected.

This will allow us to quickly step over a set of vgroups for visual inspection of the assigned verts. This is the proposed layout:

Enabling the option is equivalent to following activities:

  • Select vgroup
  • Press "a" twice to unselect all verts
  • LMB on the "Select" Button in the vgroups panel

Note: When autoselect is enabled, then the proposed behaviour only applies when selecting a vgroup (by click on its list entry). So you still can select/deselect verts in the 3d view and Assign/Remove/Select/Deselect selection from the active vgroup.

Additional idea:

autoselect enabled:

  • Selecting a Vertex Group with SHIFT +LMB will select the group as before
  • All verts of the Vertex group will be selected additionally

Event Timeline

Gaia Clary (gaiaclary) created this task.Feb 10 2014, 1:26 PM
Gaia Clary (gaiaclary) claimed this task.
Gaia Clary (gaiaclary) raised the priority of this task from to 90.
Gaia Clary (gaiaclary) updated the task description.
Gaia Clary (gaiaclary) added a project: Animation & Rigging.
Gaia Clary (gaiaclary) edited a custom field.
Gaia Clary (gaiaclary) added subscribers: Campbell Barton (campbellbarton), Jonathan Williamson (carter2422), Joshua Leung (aligorith) and 2 others.
Brecht Van Lommel (brecht) added a subscriber: Brecht Van Lommel (brecht).Feb 10 2014, 1:42 PM

I suggest to put this option under the menu button on the right rather than having it always visible.

Gaia Clary (gaiaclary) added a comment.Feb 10 2014, 1:53 PM

Alternative for placing the autoselect option:

Gaia Clary (gaiaclary) added a comment.Feb 10 2014, 2:17 PM

What about doing it like this:


This would not take much of space and it shows that selecting /deselecting is automated when the option is enabled.

Campbell Barton (campbellbarton) added a comment.Feb 11 2014, 2:56 PM

I worry a bit this is being added because the select option is limited,
Currently if you want to exclusively select a vertex group you have to...

  • (de)select all in the 3d view.
  • select the vertex group.
  • press the select key.

Having this autoselect option brings it down to one step... but then you have extra setting to worry about.

What about some way to select the vertex group directly, without adding an option?.

Maybe there could be a right click menu on the veretx group (select/deselect/hide/reveal... etc)... or some icon in the list to click on to select (though I rather not do that).


If this is added...

This same functionality could apply to other areas...

  • bone groups
  • materials in editmode.
  • object groups (some way to click on on a group in the object buttons and change the selction - though we do have this in the outliner)

Even if these are not added immediately - think its worth to consider if we would accept adding these - so the feature can be done in a generic way (maybe add some auto-select icon to replace the AUTO).

@Brecht Van Lommel (brecht), having in a menu could be annoying if you open up someone elses blend file and change vgroups and happen not to know of this option.

however I rather not add too much clutter to UI either...

Think this should be postponed for 2.70,

bassam kurdali (bassamk) added a comment.Feb 11 2014, 9:41 PM

What's the motivation behind this functionality? For visual inspection, doesn't weight paint mode fit the bill? There you can also see weights...

Campbell Barton (campbellbarton) added a comment.Feb 11 2014, 10:13 PM

@bassam kurdali (bassamk) - yep, I can image some cases you might want to have this - but for the purpose of discussion would be good to list exactly how this helps.

also, you can see wights in editmode now, added 2.69 (draw option).

Gaia Clary (gaiaclary) added a comment.Feb 11 2014, 11:31 PM

Here is an example where visual inspection just using the colors doesn't work well:


This mesh has a problem with some weird asymetric behaviour. I want to find out what the problem is. I suspect unintentionally weighted vertices in one of the vgroups.

So just before i took this screen shot:

  • I was inspecting the weights of the RIGHT_HANDLE and i have selected only that group's verts.
  • Then i selected the LEFT_HANDLE vgroup in the Vertex Groups list.

So by now we see that no apparent problem exists. however i really want to know which verts are assigned to the vgroup. So what i do next is:

  • i deselect all verts
  • i select the verts of the LEFT_HANDLE bone (from the vertex Group)

And i get a surprise:

I know, in weight paint mode we can enable the colorisation of unweighted verts in black. That helps a bit to discover the problematic vgroup in this case.

However.. If you break down the movements that are needed to see (and select) the verts of another weight group, then you end up with:

  • move 3D cursor to 3D view
  • hit "a"
  • move cursor to new vgroup in list
  • select new vgroup
  • move cursor down to the Select button
  • click the select button.

Here is a visualisation of the mouse movements and clicks:

If we had "autoselect" enabled here, we just can click through the vgroups in the list, we could even use the cursor up/down keys from the keyboard to quickly scroll through the list.

Campbell Barton (campbellbarton) added a subscriber: Gaia Clary (gaiaclary).Feb 12 2014, 12:49 AM

@Gaia Clary (gaiaclary) thanks for the explanation,

IMHO the issue is really a problem with limited display/feedback.

Coloring the mesh to show zero weights is good when painting since you can identify zero weights as you paint ... BUT,
not so good for debugging weight paint problems since you have to rotate the model about to inspect it each time you switch weight groups.

Auto-select seems to me to be a workaround so that you very quickly can see which verts use which group when changing (not necessarily bad...), but this makes me think we could do better with mesh display.

For example, when weight-paint colors are enabled with vertex selection (both editmode and weight paint mode), vertices in the group could be displayed a different color, even in wireframe mode, which has a similar advantage to autoselect - that you can quickly step over vgroups and immediately see which vertices use that group.

Bastien Montagne (mont29) added a project: BF Blender.May 20 2014, 4:06 PM
Bastien Montagne (mont29) added a subscriber: Bastien Montagne (mont29).
Bastien Montagne (mont29) lowered the priority of this task from 90 to Normal.May 20 2014, 4:41 PM
Sybren A. Stüvel (sybren) moved this task from Backlog to TODOs on the Animation & Rigging board.Feb 17 2020, 10:49 AM
Sybren A. Stüvel (sybren) changed the task status from Confirmed to Needs Information from User.Feb 17 2020, 10:53 AM
Sybren A. Stüvel (sybren) added a subscriber: Sybren A. Stüvel (sybren).

@Gaia Clary (gaiaclary) Given that we're now 6 years further and the 3D Viewport in Blender has improved quite a bit, is this still something that is desired?

Gaia Clary (gaiaclary) added a comment.Feb 23 2020, 8:14 PM

ops, i totally forgot about that feature request.
I believe though the feature is still something handy to have.
I like campbell's idea to just colorize the vertices for the current selected vertex group.
Maybe also add a color preference for that with default vertex color pink?

Campbell Barton (campbellbarton) added a comment.Mar 4 2020, 2:35 AM

@Gaia Clary (gaiaclary) could you make a new design task for this? (link to this one and close it would be best)

Ankit Meel (ankitm) added a subscriber: Ankit Meel (ankitm).May 1 2020, 5:35 PM

Poke for status update.

Gaia Clary (gaiaclary) mentioned this in T76305: Mark vertices of the active vgroup .May 1 2020, 6:50 PM
Gaia Clary (gaiaclary) closed this task as Archived.May 1 2020, 6:52 PM

I replaced this Design task as requested.

Ankit Meel (ankitm) closed this task as a duplicate of T76305: Mark vertices of the active vgroup .May 1 2020, 7:05 PM
bassam kurdali (bassamk) added a comment.May 1 2020, 7:54 PM
This comment was removed by bassam kurdali (bassamk).