Blender Git Commit Log

Git Commits -> Revision 3b6ee8c

Revision 3b6ee8c by Hans Goudey (master)
July 13, 2021, 16:10 (GMT)
Refactor: Move vertex group names to object data

This commit moves the storage of `bDeformGroup` and the active index
to `Mesh`, `Lattice`, and `bGPdata` instead of `Object`. Utility
functions are added to allow easy access to the vertex groups given
an object or an ID.

As explained in T88951, the list of vertex group names is currently
stored separately per object, even though vertex group data is stored
on the geometry. This tends to complicate code and cause bugs,
especially as geometry is created procedurally and tied less closely
to an object.

The "Copy Vertex Groups to Linked" operator is removed, since they
are stored on the geometry anyway.

This patch leaves the object-level python API for vertex groups in
place. Creating a geometry-level RNA API can be a separate step;
the changes in this commit are invasive enough as it is.

Note that opening a file saved in 3.0 in an earlier version means
the vertex groups will not be available.

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

Commit Details:

Full Hash: 3b6ee8cee7080af200e25e944fe30d310240e138
Parent Commit: 52b9404
Lines Changed: +731, -496

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021