Fix T96585: Intersect(Knife) tool is selecting wrong edges
Regression caused by [0] which flushed selection from vertices -> edges,
causing additional edges to be selected. Now selected is flushed based
on the mode, instead of all elements. Note that these function names
could be improved to make it clearer how these flushing functions are
different.
Also skip flushing unless selection is performed.
[0]: 55c82d8380
This commit is contained in:
parent
929a210608
commit
693aa573db
Notes:
blender-bot
2023-02-14 05:53:42 +01:00
Referenced by issue #96585, Regression?: Intersect(Knife) tool is selecting wrong edges after application
|
@ -99,8 +99,8 @@ static void edbm_intersect_select(BMEditMesh *em, struct Mesh *me, bool do_selec
|
|||
BM_edge_select_set(em->bm, e, true);
|
||||
}
|
||||
}
|
||||
EDBM_selectmode_flush(em);
|
||||
}
|
||||
EDBM_select_flush(em);
|
||||
}
|
||||
|
||||
EDBM_update(me,
|
||||
|
|
Loading…
Reference in New Issue