Blender Git Loki

Git Commits -> Revision 9e3246c

Revision 9e3246c by Tomoaki Kawada (master)
April 28, 2019, 14:05 (GMT)
Fix T63794: duplicating an armature clears B-Bones' custom handle references.

This patch fixes T63794 by updating duplicated bones' custom handle references
to point to the new armature's bones.

The problem occurs because B-Bones of a duplicated armature keep pointing to
the old armature's bones. The references are cleared upon entering Edit Mode
because there are no matching `EditBone` for such bones, and `find_ebone_link`
just returns `NULL` in such cases.

Reviewers: mont29, angavrilov

Maniphest Tasks: T63794

Differential Revision: https://developer.blender.org/D4726

Commit Details:

Full Hash: 9e3246ce6e9767148e4394dc7acbec04a7d69163
Parent Commit: 91bb8da
Committed By: Alexander Gavrilov
Lines Changed: +33, -0

1 Modified Path:

/source/blender/blenkernel/intern/armature.c (+33, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021