Blender Git Loki

Git Commits -> Revision 2b3f1fe

July 30, 2021, 14:51 (GMT)
Versioning: fix vertex group name loss in linked duplicates.

After rB3b6ee8cee708 by @HooglyBoogly vertex groups were moved
to mesh data, and versioning code was provided to upgrade old
files. However, it fails to consider the case of linked duplicates
having different name lists, and dependent on the object order
can cause some of the names to be lost. This can even be all of
them, if there is a duplicate without any names, which can be
easily created by lazy Python code.

To fix this, change the code to use the longest available name list.

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

Commit Details:

Full Hash: 2b3f1fe2f2f32372f681d4e5df4ea6107e497454
Parent Commit: f0a98f1
Committed By: Fabian Schempp
Lines Changed: +9, -3

1 Modified Path:

/source/blender/blenloader/intern/versioning_300.c (+9, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021