Fix T64041: Vertex Sharp not working.
Broken in rB0ac3d5f7db67 last year...
This commit is contained in:
parent
b5ae049013
commit
5cd6ffad09
Notes:
blender-bot
2023-02-14 05:04:52 +01:00
Referenced by issue #64041, Vertex Sharp not working
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue