Blender Git Commit Log

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:

Commit Details:

Full Hash: fc32567cdaa57b39312fbea0ea217612d3543034
Parent Commit: 9eafdb9
Lines Changed: +9, -3

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