Bone selection icon could be added next to Face and Vertex Selection in Weight Paint mode #44834

Closed
opened 2015-05-25 01:53:06 +02:00 by Sidney Moraes Jr · 36 comments

Hello. I want to suggest to add a Bone Selection icon in weight paint mode by side the face and vertex selection modes. It intents to be a better feedback on what selection mode the artist is using. Now it is like having only face and edge selection icons for mesh editing but not vertex because it is the "default" tool. I know the bone selection is not a mask tool like the face and vertex selection, but, at the end, all 3 are just selection modes for the artist workflow.

Cheerios

blender weight paint.PNG

Hello. I want to suggest to add a Bone Selection icon in weight paint mode by side the face and vertex selection modes. It intents to be a better feedback on what selection mode the artist is using. Now it is like having only face and edge selection icons for mesh editing but not vertex because it is the "default" tool. I know the bone selection is not a mask tool like the face and vertex selection, but, at the end, all 3 are just selection modes for the artist workflow. Cheerios ![blender weight paint.PNG](https://archive.blender.org/developer/F179710/blender_weight_paint.PNG)

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @SidneyMoraesJr

Added subscriber: @SidneyMoraesJr

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Agree this is nice to have a button to activate this.

One detail though.
This isn't exactly in the same kind of button as vert/face select.

  • [Vert/Face] selection is mutually exclusive.
  • [Bone] selection can be set no matter the state of [Vert/Face] selection.

So I think its fine to add the button, but wouldn't align it with the other two.

Agree this is nice to have a button to activate this. One detail though. This isn't exactly in the same kind of button as vert/face select. - [Vert/Face] selection is mutually exclusive. - [Bone] selection can be set no matter the state of [Vert/Face] selection. So I think its fine to add the button, but wouldn't align it with the other two.
Campbell Barton changed title from Bone selection icon missing by side Face and Vertex Selection in Weight Paint mode to Bone selection icon could be added next to Face and Vertex Selection in Weight Paint mode 2015-05-25 08:13:42 +02:00

Thank you, Campbell.

Thank you, Campbell.

Added subscriber: @mont29

Added subscriber: @mont29

Are you doing it @SidneyMoraesJr?

Are you doing it @SidneyMoraesJr?

Unfortunately no. I don't have the knowledge to do it.

Unfortunately no. I don't have the knowledge to do it.
Aaron Carlisle self-assigned this 2017-04-14 07:09:45 +02:00
Aaron Carlisle removed their assignment 2017-04-14 20:40:37 +02:00
Member

Added subscriber: @Blendify

Added subscriber: @Blendify

Added subscriber: @knox

Added subscriber: @knox

What exactly should be activated when the new bone button is on, and what should happen when it is clicked off? Is the new button supposed to be visible in Object Mode, and then clicking it switches to Weight Paint Mode?

What exactly should be activated when the new bone button is on, and what should happen when it is clicked off? Is the new button supposed to be visible in Object Mode, and then clicking it switches to Weight Paint Mode?

Added subscriber: @Patrizio-Colomba

Added subscriber: @Patrizio-Colomba

Added subscriber: @SpotX

Added subscriber: @SpotX

Hi all :),
I am new to blender programming, and I nave a few questions about this quick task.

It seems to me that the current behaviour is:
if the user click on a bone (RMB) the associated vertices weights are shown, then a user can choose to use a face or a vertex mask. While in "mask mode" he can no longer select a bone , without first disabling the mask.

So, I guess, the button behaviour should be:
the button is in "pressed" state if no mask is active, than if the user activates a mask, it goes to "disabled" state. Here if the user clicks on the new "Bone Selection" icon, it disables the mask and the user can select bones.

Does this seems right to you ?

Hi all :), I am new to blender programming, and I nave a few questions about this quick task. It seems to me that the current behaviour is: if the user click on a bone (RMB) the associated vertices weights are shown, then a user can choose to use a face or a vertex mask. While in "mask mode" he can no longer select a bone , without first disabling the mask. So, I guess, the button behaviour should be: the button is in "pressed" state if no mask is active, than if the user activates a mask, it goes to "disabled" state. Here if the user clicks on the new "Bone Selection" icon, it disables the mask and the user can select bones. Does this seems right to you ?

@SpotX yes, although suggest to flip the flag, which avoids version bumping existing files, see: RNA_def_property_boolean_negative_sdna

If you get this working, making minor changes like this isn't much extra hassle.

@SpotX yes, although suggest to flip the flag, which avoids version bumping existing files, see: `RNA_def_property_boolean_negative_sdna` If you get this working, making minor changes like this isn't much extra hassle.

Added subscriber: @djkellyd

Added subscriber: @djkellyd

Hi all,

I am new to Blender programming and was hoping to contribute to Blender in some way. I was wondering if this change was still needed? I saw that someone claimed it, but the last message in this thread was some time ago.

Cheers,
djkellyd

Hi all, I am new to Blender programming and was hoping to contribute to Blender in some way. I was wondering if this change was still needed? I saw that someone claimed it, but the last message in this thread was some time ago. Cheers, djkellyd

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish

@djkellyd I haven't seen a patch that adds this, so I think you can go ahead and create one.

In 2.8, with left click being the default, this ability is even more useful/applicable. Currently, selecting bones while in Weight Paint mode is somewhat hidden by default.

@djkellyd I haven't seen a patch that adds this, so I think you can go ahead and create one. In 2.8, with left click being the default, this ability is even more useful/applicable. Currently, selecting bones while in Weight Paint mode is somewhat hidden by default.

@WilliamReynish I think I developed a solution. When in Weight Paint mode, clicking the bone icon in the toolbar switches the mode to Object mode (which enables the user to add/edit bones). Likewise, clicking the Weight Paint icon in the toolbar when in Object mode switches the mode to Weight Paint mode. Should I go ahead and submit a patch for review?

@WilliamReynish I think I developed a solution. When in Weight Paint mode, clicking the bone icon in the toolbar switches the mode to Object mode (which enables the user to add/edit bones). Likewise, clicking the Weight Paint icon in the toolbar when in Object mode switches the mode to Weight Paint mode. Should I go ahead and submit a patch for review?
Member

Added subscriber: @HDMaster84

Added subscriber: @HDMaster84
Member

this button should extend the selection to the armature of the (still active) object and present a mode similar to face/verts select in that there is a selection tool in the toolbar to select bones (you can do it with shift LMB but the problem here is the shortcut ambiguity, so you can not select a single bone but only add/remove a bone from selection, just like with face/verts selection)

this button should extend the selection to the armature of the (still active) object and present a mode similar to face/verts select in that there is a selection tool in the toolbar to select bones (you can do it with shift LMB but the problem here is the shortcut ambiguity, so you can not select a single bone but only add/remove a bone from selection, just like with face/verts selection)

Added subscriber: @gs_1001

Added subscriber: @gs_1001

Is this issues still valid ? Now that we have moved to blender 2.8

Is this issues still valid ? Now that we have moved to blender 2.8
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

@gs_1001 If it is in the "Workboard" or "Module Page" of user interface "Project", then yes.

@gs_1001 If it is in the "Workboard" or "Module Page" of [user interface](https://developer.blender.org/project/view/12/) "Project", then yes.

Added subscriber: @Alpesh

Added subscriber: @Alpesh

Hi!
Is this task done?
I would like to take this task.

Hi! Is this task done? I would like to take this task.

Added subscriber: @jenkm

Added subscriber: @jenkm

@Alpesh just submit a patch. Check also this D4671.
You can even "Commandeer Revision" and then "Update Diff" for D4671 if you prefer so.

@Alpesh just submit a patch. Check also this [D4671](https://archive.blender.org/developer/D4671). You can even "Commandeer Revision" and then "Update Diff" for [D4671](https://archive.blender.org/developer/D4671) if you prefer so.

Added subscriber: @petermueller1984

Added subscriber: @petermueller1984

Added subscriber: @propersquid

Added subscriber: @propersquid

Added subscriber: @Reinis

Added subscriber: @Reinis
Reinis Mazeiks self-assigned this 2020-05-26 20:36:33 +02:00

Hi! I would like to take this as my first task.

I'm not familiar with the codebase and I don't have a lot of free time, so I might take a while, but then I guess this is not super-high priority.

Hi! I would like to take this as my first task. I'm not familiar with the codebase and I don't have a lot of free time, so I might take a while, but then I guess this is not super-high priority.

Hi again - submitting my first patch for review, yay!
Please let me know if anything needs improving, will try to fix within a couple of days.

https://developer.blender.org/D7855

Hi again - submitting my first patch for review, yay! Please let me know if anything needs improving, will try to fix within a couple of days. https://developer.blender.org/D7855

My code checks if there are any selectable bones in weight paint mode. If there are, it adds a third button in the selection switch at the top left.

Only face and vertex masking modes shown when there are no selectable bones (same as old behavior):
attels.png

A third, bone selection mode shown when there are selectable bones (equivalent to de-selecting vertex and face masking modes previously)
attels.png

To test:

  • Create a mesh and an armature
  • Parent the mesh to the armature with automatic weights (Ctrl+P)
  • Select the armature, then the mesh
  • Enter weight paint mode

You should now see the three modes from the second image.

My code checks if there are any selectable bones in weight paint mode. If there are, it adds a third button in the selection switch at the top left. Only face and vertex masking modes shown when there are no selectable bones (same as old behavior): ![attels.png](https://archive.blender.org/developer/F8564564/attels.png) A third, bone selection mode shown when there are selectable bones (equivalent to de-selecting vertex and face masking modes previously) ![attels.png](https://archive.blender.org/developer/F8564568/attels.png) To test: - Create a mesh and an armature - Parent the mesh to the armature with automatic weights (`Ctrl`+`P`) - Select the armature, then the mesh - Enter weight paint mode You should now see the three modes from the second image.
Philipp Oeser removed the
Interest
User Interface
label 2023-02-10 09:26:30 +01:00
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2023-12-01 13:39:13 +01:00
Brecht Van Lommel added the
Interest
User Interface
label 2023-12-11 16:10:17 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
17 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#44834
No description provided.