diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-06-02 11:37:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-06-02 11:38:58 +0300 |
commit | ae2f21f3783563eec3e2f8b74aa22acc74ac16b7 (patch) | |
tree | afbccee1893ff975b4da2d2c7a4a833a259086c3 /source/blender/bmesh/intern/bmesh_marking.c | |
parent | 6aef27602ab415c5609230f1d3516debb0c3e4ba (diff) |
Fix T76533: Gizmo uses active face center in edge selection mode
Only use the active face when it's selected.
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_marking.c')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_marking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/intern/bmesh_marking.c b/source/blender/bmesh/intern/bmesh_marking.c index 1bf419f4461..177599656b6 100644 --- a/source/blender/bmesh/intern/bmesh_marking.c +++ b/source/blender/bmesh/intern/bmesh_marking.c @@ -1021,7 +1021,7 @@ void BM_select_history_validate(BMesh *bm) bool BM_select_history_active_get(BMesh *bm, BMEditSelection *ese) { BMEditSelection *ese_last = bm->selected.last; - BMFace *efa = BM_mesh_active_face_get(bm, false, false); + BMFace *efa = BM_mesh_active_face_get(bm, false, true); ese->next = ese->prev = NULL; |