diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-06-28 03:11:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-06-28 03:11:49 +0300 |
commit | 87a95558a0c055dfc5b610641b2c188995fc352c (patch) | |
tree | 28d3199877498fa19683f3e8984a43e10a041ef2 /source/blender/blenkernel/intern/mesh.c | |
parent | df70e3de63447eaa53cf08d28c997dcb35441c74 (diff) |
Fix own error removing texface
Using pointer offsets from different arrays
Diffstat (limited to 'source/blender/blenkernel/intern/mesh.c')
-rw-r--r-- | source/blender/blenkernel/intern/mesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c index 9c0881e79ff..215e9ec677b 100644 --- a/source/blender/blenkernel/intern/mesh.c +++ b/source/blender/blenkernel/intern/mesh.c @@ -594,7 +594,7 @@ bool BKE_mesh_uv_cdlayer_rename_index(Mesh *me, const int poly_index, const int * Avoid memcpy from self to self in this case. */ BLI_strncpy(cdlu->name, new_name, sizeof(cdlu->name)); - CustomData_set_layer_unique_name(pdata, cdlu - pdata->layers); + CustomData_set_layer_unique_name(ldata, cdlu - ldata->layers); } /* Loop until we do have exactly the same name for all layers! */ |