Blender Git Loki
Git Commits -> Revision 7a76223
Revision 7a76223 by Sybren A. Stüvel (master) June 6, 2018, 10:27 (GMT) |
Ensure BKE_mesh_new_nomain_from_template() always has valid mxxx pointers When the source mesh doesn't have the primary layers (CD_VERT for vdata, etc.) the returned mesh also didn't have those layers, even when non-zero elements were requested (for example requesting 4 vertices would still result in mvert = NULL). |
Commit Details:
Full Hash: 7a76223f1f12b6bb049df1864e5d0cda70060a8f
Parent Commit: 8a0e6a3
Lines Changed: +3, -0
1 Modified Path:
/source/blender/blenkernel/intern/mesh.c (+3, -0) (Diff)