Page MenuHome

Fix T76416: Armature Deform parenting option doesn't work with Grease Pencil objects
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on May 5 2020, 1:56 PM.

Details

Summary

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

Diff Detail

Repository
rB Blender
Branch
T76416 (branched from master)
Build Status
Buildable 7892
Build 7892: arc lint + arc unit