Flipped names don't weight properly with Mirror Modifier #52671

Closed
opened 2017-09-07 09:00:15 +02:00 by David Lejeune · 6 comments

Blender Version
Broken: Blender 2.79 rc2 7b397cd
Worked: Blender 2.78

When making a mesh that utilizes the Mirror Modifier a child of an armature that has flipped names (i.e. Made the left side of the armature, duplicated all the bones and scaled -1 to get the right side, used Flip Names to fix the names) the weighting will not be correctly mirrored for bones that had their names flipped.

Exact steps for others to reproduce the error

  1. Create a Cube, cut it in half from forward view, delete the left half.
  2. Add the Mirror Modifier to the Cube to make a whole cube.
  3. Create a Single bone.
  4. In Edit Mode for the Armature, move and scale the bone to align with the 'real' half of the cube.
  5. Name the Bone 'Bone.L'
  6. Ensure the 3D cursor is centered and set the pivot to 3D Cursor.
  7. Duplicate Bone.L and scale Bone.L.001 -1 on X (Bone.L.001 should now be aligned with the 'fake' half of the cube.
  8. Use 'Flip Names' on Bone.L.001. Observe that it is now named Bone.R.001
  9. In Object Mode Select the Cube, then the Armature and perform a Parent operation. Select 'Use Automatic Weights'
  10. Select the armature and set it to pose mode.
  11. Select the Cube and go to Weight Painting mode.
  12. Select Bone.L to see its weights. Observe that it is weighted for both sides of the cube. (see attached .blend file)BadWeightMirror.blend

This is occurring because the .00x suffixes for duplicated bones are being retained after a Flip Names operation (see #51543 ). I understand that this is apparently 'intended functionality' but I hope you can see that completely nullifies the time saving aspect of Flip Names as the user now must manually delete the suffixes for duplicated bones in order to get proper automatic weights.

**Blender Version** Broken: Blender 2.79 rc2 7b397cd Worked: Blender 2.78 When making a mesh that utilizes the Mirror Modifier a child of an armature that has flipped names (i.e. Made the left side of the armature, duplicated all the bones and scaled -1 to get the right side, used Flip Names to fix the names) the weighting will not be correctly mirrored for bones that had their names flipped. **Exact steps for others to reproduce the error** 1. Create a Cube, cut it in half from forward view, delete the left half. 2. Add the Mirror Modifier to the Cube to make a whole cube. 3. Create a Single bone. 4. In Edit Mode for the Armature, move and scale the bone to align with the 'real' half of the cube. 5. Name the Bone 'Bone.L' 6. Ensure the 3D cursor is centered and set the pivot to 3D Cursor. 7. Duplicate Bone.L and scale Bone.L.001 -1 on X (Bone.L.001 should now be aligned with the 'fake' half of the cube. 8. Use 'Flip Names' on Bone.L.001. Observe that it is now named Bone.R.001 9. In Object Mode Select the Cube, then the Armature and perform a Parent operation. Select 'Use Automatic Weights' 10. Select the armature and set it to pose mode. 11. Select the Cube and go to Weight Painting mode. 12. Select Bone.L to see its weights. Observe that it is weighted for both sides of the cube. (see attached .blend file)[BadWeightMirror.blend](https://archive.blender.org/developer/F777624/BadWeightMirror.blend) This is occurring because the .00x suffixes for duplicated bones are being retained after a Flip Names operation (see [#51543 ](https://developer.blender.org/T51543)). I understand that this is apparently 'intended functionality' but I hope you can see that completely nullifies the time saving aspect of Flip Names as the user now must manually delete the suffixes for duplicated bones in order to get proper automatic weights.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @DKesserich

Added subscriber: @DKesserich
Member

Added subscriber: @JoshuaLeung

Added subscriber: @JoshuaLeung
Member

Indeed, it seems that the new Flip Names behaviour is causing problems here, meaning that this is a duplicate of #52685

Indeed, it seems that the new Flip Names behaviour is causing problems here, meaning that this is a duplicate of #52685
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Joshua Leung self-assigned this 2017-09-16 07:50:57 +02:00
Member

Close as duplicate.

Close as duplicate.
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
2 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#52671
No description provided.