Fix T64041: Vertex Sharp not working.

Broken in rB0ac3d5f7db67 last year...
This commit is contained in:
Bastien Montagne 2019-05-13 11:48:55 +02:00
parent b5ae049013
commit 5cd6ffad09
Notes: blender-bot 2023-02-14 05:04:52 +01:00
Referenced by issue #64041, Vertex Sharp not working
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}