Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_normal_edit.cc
| Show First 20 Lines • Show All 557 Lines • ▼ Show 20 Lines | BKE_mesh_normals_loop_split(verts, | ||||
| loopnors, | loopnors, | ||||
| loops_num, | loops_num, | ||||
| polys, | polys, | ||||
| poly_normals, | poly_normals, | ||||
| polys_num, | polys_num, | ||||
| true, | true, | ||||
| result->smoothresh, | result->smoothresh, | ||||
| nullptr, | nullptr, | ||||
| clnors, | nullptr, | ||||
| nullptr); | clnors); | ||||
| } | } | ||||
| if (clnors == nullptr) { | if (clnors == nullptr) { | ||||
| clnors = static_cast<short(*)[2]>( | clnors = static_cast<short(*)[2]>( | ||||
| CustomData_add_layer(ldata, CD_CUSTOMLOOPNORMAL, CD_SET_DEFAULT, nullptr, loops_num)); | CustomData_add_layer(ldata, CD_CUSTOMLOOPNORMAL, CD_SET_DEFAULT, nullptr, loops_num)); | ||||
| } | } | ||||
| MOD_get_vgroup(ob, result, enmd->defgrp_name, &dvert, &defgrp_index); | MOD_get_vgroup(ob, result, enmd->defgrp_name, &dvert, &defgrp_index); | ||||
| ▲ Show 20 Lines • Show All 219 Lines • Show Last 20 Lines | |||||