Automatically weights generation missing bones in rig #46664

Closed
opened 2015-11-01 21:16:18 +01:00 by Andrew Buttery · 10 comments
- Operating System, Graphics card --- 

Windows 7 x64 service pack 1
NVIDIA GeForce 540M

- Blender version with error, and version that worked --- 

Bug found in 2.76

Not sure what previous version this worked in

- Short description of error --- 

When using Ctrl+P > Bones with Automatic weights some bones do not have a vertex group created and weights assigned.

Symptoms:

  1. Open attached .blend file

  2. Select one the the "right" eyebrows (i.e. screen left when in front view)) in pose mode; grab and the mug will deform

  3. Select one the the "left" eyebrows (i.e. screen right when in front view) in pose mode; grab and the mug will not deform

  4. Check the MUG object vertex groups and although there is a CTR DEF foot.r and CTR DEF foot.l vertex groups; there is no CTR DEF arm.l or CTR DEF eyebrow.l.nnn vertex groups and therefore no deform.

    • Steps for others to reproduce the error (preferably based on attached .blend file) ---
  5. Clear all vertex groups on MUG

  6. Unparent MUG from MUG RIG

  7. Select MUG; Select MUG RIG

  8. Ctrl+P > Armature Deform > With Automatic weights

  9. Try moving CTR DEF arm.l or any of the eyebrow.l and there is no movement

  10. Select MUG

  11. Go to Properties editor > Vertex context

  12. Vertex Groups for CTR DEF foot.l and CTR DEF foot.r have been created and given weights

  13. Vertex groups for CTR DEF arm.l and the left eyebrows have not been created and given weights

It does not seem to make a difference if Pose Tools > Make parent > X mirror is selected or not.

The ".r" bones for arm and eyebrows were created automatically via the X-Mirror in edit mode option. I'm pretty sure I created the foot.l and foot.r separately.
test rig.blend

- Operating System, Graphics card --- Windows 7 x64 service pack 1 NVIDIA GeForce 540M - Blender version with error, and version that worked --- Bug found in 2.76 Not sure what previous version this worked in - Short description of error --- When using Ctrl+P > Bones with Automatic weights some bones do not have a vertex group created and weights assigned. Symptoms: 1. Open attached .blend file 2. Select one the the "right" eyebrows (i.e. screen left when in front view)) in pose mode; grab and the mug will deform 3. Select one the the "left" eyebrows (i.e. screen right when in front view) in pose mode; grab and the mug will not deform 4. Check the MUG object vertex groups and although there is a CTR DEF foot.r and CTR DEF foot.l vertex groups; there is no CTR DEF arm.l or CTR DEF eyebrow.l.nnn vertex groups and therefore no deform. - Steps for others to reproduce the error (preferably based on attached .blend file) --- 1. Clear all vertex groups on MUG 2. Unparent MUG from MUG RIG 3. Select MUG; Select MUG RIG 4. Ctrl+P > Armature Deform > With Automatic weights 5. Try moving CTR DEF arm.l or any of the eyebrow.l and there is no movement 6. Select MUG 7. Go to Properties editor > Vertex context 8. Vertex Groups for CTR DEF foot.l and CTR DEF foot.r have been created and given weights 9. Vertex groups for CTR DEF arm.l and the left eyebrows have not been created and given weights It does not seem to make a difference if Pose Tools > Make parent > X mirror is selected or not. The ".r" bones for arm and eyebrows were created automatically via the X-Mirror in edit mode option. I'm pretty sure I created the foot.l and foot.r separately. [test rig.blend](https://archive.blender.org/developer/F249559/test_rig.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @AndrewButtery

Added subscriber: @AndrewButtery
Member

Added subscriber: @Blendify

Added subscriber: @Blendify

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2015-11-03 15:09:42 +01:00

Thanks for the report, but no bug here, somehow you manage to disable the 'Deform' option (in related panel header) of your left bones, so they cannot be used as deformers, and are ignored when creating vgroups…

Thanks for the report, but no bug here, somehow you manage to disable the 'Deform' option (in related panel header) of your left bones, so they cannot be used as deformers, and are ignored when creating vgroups…
Author

Changed status from 'Archived' to: 'Open'

Changed status from 'Archived' to: 'Open'
Author

Hi Bastien,

OK - this makes sense as now I remember that I have been testing the Deform option to see if I could drive it. The left eyebrow were the copies of the Arm.l when when deform was turned off. So that is the cause.

However, when the X-mirror created the Right bones the Deform option was turned on again. So the X-Mirror is inconsistent - in that it picked up some aspects of the bones - everything from the Relations Panel and Display panel but not the Deform panel.

So I humbly suggest that it is still a bug, albeit a small one because of the inconsistent nature of the mirrored bone creation.

Thanks.

  - andrew
Hi Bastien, OK - this makes sense as now I remember that I have been testing the Deform option to see if I could drive it. The left eyebrow were the copies of the Arm.l when when deform was turned off. So that is the cause. However, when the X-mirror created the Right bones the Deform option was turned on again. So the X-Mirror is inconsistent - in that it picked up some aspects of the bones - everything from the Relations Panel and Display panel but not the Deform panel. So I humbly suggest that it is still a bug, albeit a small one because of the inconsistent nature of the mirrored bone creation. Thanks. - andrew

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Please do not reopen tasks yourself.

Also, this is a totally different issue, which requires a new report with usual precise description of issue, steps to reproduce it, and .blend file to help. Let’s keep one issue per report, much easier to manage. :)

BTW, X-Mirror is only for 'physical' properties like position, size, etc., things editable directly in the 3DView, afaik. It’s a 3DView editing option, it does not take into account all properties of bones… So still do not think there is any bug here.

Please do not reopen tasks yourself. Also, this is a totally different issue, which requires a new report with usual precise description of issue, steps to reproduce it, and .blend file to help. Let’s keep one issue per report, much easier to manage. :) BTW, X-Mirror is only for 'physical' properties like position, size, etc., things editable directly in the 3DView, afaik. It’s a 3DView editing option, it does not take into account **all** properties of bones… So still do not think there is any bug here.
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
3 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#46664
No description provided.