diff options
author | Joseph Eagar <joeedh@gmail.com> | 2009-09-28 07:28:28 +0400 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2009-09-28 07:28:28 +0400 |
commit | 8ea2904693707209d739928a70072d339c547b84 (patch) | |
tree | 24a704241510148805fca790b61cfa48ac600af0 /source/blender/editors/mesh/loopcut.c | |
parent | 2d797f35d804fd86ef079b30f2c83a81a8e38cd5 (diff) |
added missing notifyer/depsgraph call to loopcut, fixed tweaking the edge slide operator in the last operator panel, and uncommented a line in the remove doubles op that was making it not work (and tweaked the rna limits a bit there, too).
Diffstat (limited to 'source/blender/editors/mesh/loopcut.c')
-rw-r--r-- | source/blender/editors/mesh/loopcut.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/loopcut.c b/source/blender/editors/mesh/loopcut.c index 1adac71f40e..d1ef4ebc233 100644 --- a/source/blender/editors/mesh/loopcut.c +++ b/source/blender/editors/mesh/loopcut.c @@ -265,7 +265,10 @@ static void ringsel_finish(bContext *C, wmOperator *op) EditMesh *em = BKE_mesh_get_editmesh(lcd->ob->data); esubdivideflag(lcd->ob, em, SELECT, 0.0f, 0.0f, 0, 1, SUBDIV_SELECT_LOOPCUT); + + DAG_id_flush_update(lcd->ob->data, OB_RECALC_DATA); } + WM_event_add_notifier(C, NC_GEOM|ND_DATA, lcd->ob->data); } } |