Fix [#32260] 'Select Sharp Edges' works vice versa
We want to select edges sharpest than the given threshold, i.e. which faces’s angle is below the limit! Looks like BMesh switched this somehow...
This commit is contained in:
@@ -2337,7 +2337,7 @@ static int edbm_select_sharp_edges_exec(bContext *C, wmOperator *op)
|
||||
/* edge has exactly two neighboring faces, check angle */
|
||||
angle = angle_normalized_v3v3(l1->f->no, l2->f->no);
|
||||
|
||||
if (fabsf(angle) > sharp) {
|
||||
if (fabsf(angle) < sharp) {
|
||||
BM_edge_select_set(em->bm, e, TRUE);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user