Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYimingWu <xp8110@outlook.com>2019-07-31 10:55:04 +0300
committerYimingWu <xp8110@outlook.com>2019-07-31 10:55:04 +0300
commit4fe067b8541505520363622b26d2dc400a280504 (patch)
tree358cda0c71fa002673a2d42ff35958ad00a04d4b /source/blender/editors/mesh/editmesh_tools.c
parent5cb3161486c9c71fac3a56749b656744bfd23217 (diff)
parentaf4dcc6073fa1a04edbfb69e591f9aac9f452f17 (diff)
Merge branch 'master' into soc-2019-npr
Diffstat (limited to 'source/blender/editors/mesh/editmesh_tools.c')
-rw-r--r--source/blender/editors/mesh/editmesh_tools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c
index add074985b1..7d69816bf93 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -8617,7 +8617,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;
}