[Bf-blender-cvs] [5cd6ffad09a] master: Fix T64041: Vertex Sharp not working.
Bastien Montagne
noreply at git.blender.org
Mon May 13 11:50:11 CEST 2019
Commit: 5cd6ffad09a50769eb76bd8308b478a917df0ea6
Author: Bastien Montagne
Date: Mon May 13 11:48:55 2019 +0200
Branches: master
https://developer.blender.org/rB5cd6ffad09a50769eb76bd8308b478a917df0ea6
Fix T64041: Vertex Sharp not working.
Broken in rB0ac3d5f7db67 last year...
===================================================================
M 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 21a5dd30ce3..91e931115f4 100644
--- a/source/blender/editors/mesh/editmesh_tools.c
+++ b/source/blender/editors/mesh/editmesh_tools.c
@@ -1124,7 +1124,7 @@ static int edbm_mark_sharp_exec(bContext *C, wmOperator *op)
BMEditMesh *em = BKE_editmesh_from_object(obedit);
BMesh *bm = em->bm;
- if (bm->totedgesel == 0) {
+ if ((use_verts && bm->totvertsel == 0) || (!use_verts && bm->totedgesel == 0)) {
continue;
}
More information about the Bf-blender-cvs
mailing list