diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2021-12-08 12:31:57 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2021-12-08 18:10:07 +0300 |
commit | 72b39d3f920072b6a568c63c26e35d444cfcb6f3 (patch) | |
tree | 8370efe3e066c6a6ab243fb7ebe2f5cf80a67d08 /release/scripts/startup | |
parent | e23b54a59f0428399bbf4de5ba007ad764fa80be (diff) |
Fix T93728: Greasepencil separate will loose all vertex groups
Caused by {rB3b6ee8cee708}
The raw data is copied here correctly
[`BKE_gpencil_stroke_weights_duplicate` in
`BKE_gpencil_stroke_duplicate`] but the vertex groups names are missing.
Prior to above commit is was enough to have `ED_object_add_duplicate`
(this seemingly took care of duplicating object's defbase).
Now vertex groups names sit on the `bGPdata` rather than the `Object`,
and since the separate operation creates **new** `bGPdata` we have to
copy vertex groups names - and active index - over [via
`BKE_defgroup_copy_list`].
Maniphest Tasks: T93728
Differential Revision: https://developer.blender.org/D13509
Diffstat (limited to 'release/scripts/startup')
0 files changed, 0 insertions, 0 deletions