diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-04-10 17:19:16 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-04-10 17:19:16 +0400 |
commit | 8adc27688597baf212adcab841b42e3e07bcb0bc (patch) | |
tree | 571863c6cc44321fe426af4d485d5a32d2479e2b /source/blender/editors/uvedit | |
parent | 5061f2eb62e1e940d83636dda7584b06c5e8166d (diff) |
Fix #30879: uv editor hide did not work with the mesh in vertex/edge select
mode, selection was not flushed down to faces.
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_ops.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c index 85c7d324145..c836e536d17 100644 --- a/source/blender/editors/uvedit/uvedit_ops.c +++ b/source/blender/editors/uvedit/uvedit_ops.c @@ -3059,6 +3059,9 @@ static int hide_exec(bContext *C, wmOperator *op) } } + /* flush vertex selection changes */ + if(!facemode && em->selectmode != SCE_SELECT_FACE) + EDBM_selectmode_flush(em); EDBM_editselection_validate(em); WM_event_add_notifier(C, NC_GEOM|ND_SELECT, obedit->data); |