diff options
author | Rohan Rathi <rohanrathi08@gmail.com> | 2018-08-09 16:26:46 +0300 |
---|---|---|
committer | Rohan Rathi <rohanrathi08@gmail.com> | 2018-08-09 16:26:46 +0300 |
commit | fea5f26ea56acd73d043e97a96d06067b24ef811 (patch) | |
tree | ec1bc982c5d7f8760f398e05076f6ea6d9efd129 /source/blender | |
parent | 42c2066d08216bb57492fef441ee20217444d395 (diff) |
Fix trivial error in callsoc-2018-bevel
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl_mesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_mesh.c b/source/blender/draw/intern/draw_cache_impl_mesh.c index ba16dab0623..dcfb9229cc1 100644 --- a/source/blender/draw/intern/draw_cache_impl_mesh.c +++ b/source/blender/draw/intern/draw_cache_impl_mesh.c @@ -427,7 +427,7 @@ static MeshRenderData *mesh_render_data_create_ex( int totloop = bm->totloop; if (is_auto_smooth) { rdata->loop_normals = MEM_mallocN(sizeof(*rdata->loop_normals) * totloop, __func__); - int cd_loop_clnors_offset = CustomData_get_clone_layer_index(&bm->ldata, CD_CUSTOMLOOPNORMAL); + int cd_loop_clnors_offset = CustomData_get_layer_index(&bm->ldata, CD_CUSTOMLOOPNORMAL); BM_loops_calc_normal_vcos(bm, NULL, NULL, NULL, true, split_angle, rdata->loop_normals, NULL, NULL, cd_loop_clnors_offset, false); } |