49965841bb08a0ec91d3506d69a8ebfecd418671
Grease Pencil armature deformation has to use the correct `vertex_group_names` list from the `Curves` (i.e. drawings) rather than the names from its parent `GreasePencil` data block. The ancient armature deformation code used a `defbase` list (`ListBase` of type `bDeformGroup`) from the object via `BKE_id_defgroup_list_get`. This function does not have enough information to determine the correct vertex groups for GPv3, and it's use inside supposedly generic code is highly questionable. This patch removes the `defbase` lookup inside `armature_deform_coords_impl` and instead passes an explicit list of vertex group names to be used for resolving indices. We already have context in every place this is called to determine the correct vertex groups, without having to make assumptions down the line based on just the object type. Pull Request: https://projects.blender.org/blender/blender/pulls/127509
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
