Fix T72250: Select Boundary Loop
Edge Index display were not showing up after performing "Select Boundary Loops" when in face selection mode. The operation tagged the mesh that the selection was changed, but in the end this didn't do anything within the depsgraph. The fix changes this to recalc the geometry of the object. What also syncs the selectmode flags. A better solution would be to update the select flags only. But that could be done as future work when we have a performance problems.
This commit is contained in:
parent
1b86b3c0f4
commit
44231386e4
Notes:
blender-bot
2023-02-14 05:41:57 +01:00
Referenced by issue #72250, Edge Index display not showing after "Select Boundary Loops" from a face selection
|
@ -4957,7 +4957,7 @@ static int edbm_region_to_loop_exec(bContext *C, wmOperator *UNUSED(op))
|
|||
EDBM_selectmode_to_scene(C);
|
||||
}
|
||||
|
||||
DEG_id_tag_update(obedit->data, ID_RECALC_SELECT);
|
||||
DEG_id_tag_update(&obedit->id, ID_RECALC_GEOMETRY);
|
||||
WM_event_add_notifier(C, NC_GEOM | ND_SELECT, obedit->data);
|
||||
}
|
||||
MEM_freeN(objects);
|
||||
|
|
Loading…
Reference in New Issue