From 363dd97ae80a4d097d92398b1769c1dca09c0ad9 Mon Sep 17 00:00:00 2001 From: Sebastian Parborg Date: Tue, 30 Jul 2019 15:37:27 +0200 Subject: Fix T67370 Normal Tools(Alt +N), copy and paste not work The copy operator requried at least a vert AND a face to be selected. It should only require that a vert OR a face is selected. --- source/blender/editors/mesh/editmesh_tools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/mesh/editmesh_tools.c') diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 34c83263cac..3b5c8e9f101 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -8616,7 +8616,7 @@ static int edbm_normals_tools_exec(bContext *C, wmOperator *op) switch (mode) { case EDBM_CLNOR_TOOLS_COPY: - if (bm->totfacesel == 0 || bm->totvertsel == 0) { + if (bm->totfacesel == 0 && bm->totvertsel == 0) { BM_loop_normal_editdata_array_free(lnors_ed_arr); continue; } -- cgit v1.2.3