diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-09-01 21:03:31 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-09-01 21:03:31 +0400 |
commit | 3c90ce6725d0e3af1cf479876e24b3bc025672a0 (patch) | |
tree | 3ba4d301950e1eb78564232bddde47a8d906402f /source/blender/editors/mesh | |
parent | 70ec45d7578afaa57f2b2dac1f0dd86ee38fca81 (diff) |
Send NC_SCENE|ND_TOOLSETTINGS notifier when select mode was forced to edge select
in loop cut operator. Header buttons have "delayed" update without this notifier.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/loopcut.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/loopcut.c b/source/blender/editors/mesh/loopcut.c index 488b59fa29e..174207a71c5 100644 --- a/source/blender/editors/mesh/loopcut.c +++ b/source/blender/editors/mesh/loopcut.c @@ -278,6 +278,8 @@ static void ringsel_finish(bContext *C, wmOperator *op) em->selectmode &= ~SCE_SELECT_FACE; CTX_data_tool_settings(C)->selectmode= em->selectmode; EM_selectmode_set(em); + + WM_event_add_notifier(C, NC_SCENE|ND_TOOLSETTINGS, CTX_data_scene(C)); } DAG_id_flush_update(lcd->ob->data, OB_RECALC_DATA); |