Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2020-01-13 12:48:43 +0300
committerJeroen Bakker <jeroen@blender.org>2020-01-13 12:48:43 +0300
commit44231386e42bc096ef0891e94e70b95263aa80d1 (patch)
treea066f1bb23f27cc5ac84fdfb240f5a3bd1ffc8e0 /source/blender/editors/mesh
parent1b86b3c0f4ab84e3b47c04a63a69ffb61dc8660e (diff)
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.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_select.c b/source/blender/editors/mesh/editmesh_select.c
index ffbcacafd44..6eabb079f4e 100644
--- a/source/blender/editors/mesh/editmesh_select.c
+++ b/source/blender/editors/mesh/editmesh_select.c
@@ -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);