tornavis/release
Hans Goudey 3b6ee8cee7 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
2021-07-13 12:10:34 -04:00
..
bin
darwin Update all README to clearify intention or usage 2021-05-31 18:58:42 +02:00
datafiles Spreadsheet: Dataset region for spreadsheet editor 2021-06-25 07:57:24 +02:00
freedesktop Linux: prefer using dedicated GPU when launching Blender 2021-06-25 15:28:19 +02:00
license
lts Blender LTS: match download urls with latest changes in buildbot. 2021-05-19 16:41:51 +02:00
scripts Refactor: Move vertex group names to object data 2021-07-13 12:10:34 -04:00
text
windows BuildBot: Cleanup 2021-06-01 15:18:11 +02:00