Blender Git Loki
Git Commits -> Revision 2b3f1fe
Revision 2b3f1fe by Alexander Gavrilov (soc-2021-porting-modifiers-to-nodes-decimate, soc-2021-porting-modifiers-to-nodes_all) 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)