diff options
author | Rohan Rathi <rohanrathi08@gmail.com> | 2018-08-05 06:09:20 +0300 |
---|---|---|
committer | Rohan Rathi <rohanrathi08@gmail.com> | 2018-08-05 06:09:20 +0300 |
commit | c41ce58fdeba46dd96dccd7d2b98b1d3f5de726e (patch) | |
tree | 89279e675d429e3f78fcd25164fc3f5b911d9418 /source/blender/editors/mesh/editmesh_tools.c | |
parent | 710d2def6509d2c993cb96f42eb1a97ccc60bfcf (diff) |
Fix indentation, spacing and added comments
Diffstat (limited to 'source/blender/editors/mesh/editmesh_tools.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_tools.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index d327e270a35..d94d3051b50 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -7063,7 +7063,8 @@ static void point_normals_update_header(bContext *C, wmOperator *op) WM_MODALKEY(EDBM_CLNOR_MODAL_POINTTO_RESET), WM_MODALKEY(EDBM_CLNOR_MODAL_POINTTO_SET_USE_3DCURSOR), WM_MODALKEY(EDBM_CLNOR_MODAL_POINTTO_SET_USE_SELECTED), WM_MODALKEY(EDBM_CLNOR_MODAL_POINTTO_INVERT), WM_bool_as_string(RNA_boolean_get(op->ptr, "invert")), - WM_MODALKEY(EDBM_CLNOR_MODAL_POINTTO_SPHERIZE), WM_bool_as_string(RNA_boolean_get(op->ptr, "spherize")), + WM_MODALKEY(EDBM_CLNOR_MODAL_POINTTO_SPHERIZE), + WM_bool_as_string(RNA_boolean_get(op->ptr, "spherize")), WM_MODALKEY(EDBM_CLNOR_MODAL_POINTTO_ALIGN), WM_bool_as_string(RNA_boolean_get(op->ptr, "align"))); #undef WM_MODALKEY @@ -8063,7 +8064,8 @@ static int edbm_set_normals_from_faces_exec(bContext *C, wmOperator *op) if (BLI_BITMAP_TEST(loop_set, BM_elem_index_get(l))) { const int loop_index = BM_elem_index_get(l); short *clnors = BM_ELEM_CD_GET_VOID_P(l, cd_clnors_offset); - BKE_lnor_space_custom_normal_to_data(bm->lnor_spacearr->lspacearr[loop_index], vnors[v_index], clnors); + BKE_lnor_space_custom_normal_to_data(bm->lnor_spacearr->lspacearr[loop_index], vnors[v_index], + clnors); } } } |