Blender Git Commit Log

Git Commits -> Revision 7043f8b

Revision 7043f8b by Philipp Oeser (master)
May 6, 2020, 10:26 (GMT)
Fix T76416: Armature Deform parenting option doesn't work with Grease Pencil objects

If we parent with type `PAR_ARMATURE` (where vertexgroups are already
set up and named correctly according to the corresponding bones), we
still need an armature modifier. This just wasnt added.

In contrast to meshes [which add their armature modifier early in
`ED_object_parent_set`], grease pencil used to do this (adding the
armature modifier) in `ED_gpencil_add_armature_weights`.

Now split ED_gpencil_add_armature_weights in two:
- ED_gpencil_add_armature
- ED_gpencil_add_armature_weights (which calls ED_gpencil_add_armature)
- use ED_gpencil_add_armature for the PAR_ARMATURE case

Maniphest Tasks: T76416

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

Commit Details:

Full Hash: 7043f8b815f3da10e56668230dee1a438af7e49d
Parent Commit: c982401
Lines Changed: +25, -6

3 Modified Paths:

/source/blender/editors/gpencil/gpencil_armature.c (+16, -4) (Diff)
/source/blender/editors/include/ED_gpencil.h (+5, -1) (Diff)
/source/blender/editors/object/object_relations.c (+4, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021