diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-15 06:52:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-15 06:52:00 +0300 |
commit | fdad77d73d0507cabc5181d553d6f108b9df0907 (patch) | |
tree | 8eefaf50c5948d0ecda67fbd3e49e747dd794219 /source/blender/editors | |
parent | 0a361eb5ecd732c399bbc2a4648e9714f9cd8817 (diff) |
BMesh: use faster normal update method for edit-mesh coordinates
This wasn't included in the previous fix so it'd be 2.93 compatible.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_buttons.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/view3d_buttons.c b/source/blender/editors/space_view3d/view3d_buttons.c index 1cdc74b801a..60e1c780b9e 100644 --- a/source/blender/editors/space_view3d/view3d_buttons.c +++ b/source/blender/editors/space_view3d/view3d_buttons.c @@ -927,8 +927,9 @@ static void v3d_editvertex_buts(uiLayout *layout, View3D *v3d, Object *ob, float } if (apply_vcos) { - EDBM_mesh_normals_update(em); - BKE_editmesh_looptri_calc(em); + /* TODO: use the #BKE_editmesh_looptri_and_normals_calc_with_partial + * This requires begin/end states for UI interaction (which currently aren't supported). */ + BKE_editmesh_looptri_and_normals_calc(em); } /* Edges */ |