Blender Git Loki

Git Commits -> Revision fc32567

Revision fc32567 by Alexander Gavrilov (master)
July 18, 2021, 16:09 (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: fc32567cdaa57b39312fbea0ea217612d3543034
Parent Commit: 9eafdb9
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