Blender Git Commit Log

Git Commits -> Revision 2183625

Revision 2183625 by Bastien Montagne (master)
October 21, 2014, 15:06 (GMT)
Fix T42260: By repeatedly joining meshes, you could end up with thousands of UVLayers

This is only an indirect fix, in fact: this commit adds a public API to check
the maximum number of a given layer type (`CustomData_layertype_layers_max()`),
and uses it to forbid too much layer creation in `CustomData_merge()`.

This only affects UVs/VCol data though, but merge behavior in itself is not a bug
actually, how user managed to get thousands of different UV layer names remain
rather mysterious...

Commit Details:

Full Hash: 21836250c06c87bb267948bcc559b474e8ced564
Parent Commit: b770964
Lines Changed: +43, -7

2 Modified Paths:

/source/blender/blenkernel/BKE_customdata.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/customdata.c (+42, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021