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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-06-02 11:37:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-06-02 11:38:58 +0300
commitae2f21f3783563eec3e2f8b74aa22acc74ac16b7 (patch)
treeafbccee1893ff975b4da2d2c7a4a833a259086c3 /source
parent6aef27602ab415c5609230f1d3516debb0c3e4ba (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')
-rw-r--r--source/blender/bmesh/intern/bmesh_marking.c2
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;