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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-06-15 06:52:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-15 06:52:00 +0300
commitfdad77d73d0507cabc5181d553d6f108b9df0907 (patch)
tree8eefaf50c5948d0ecda67fbd3e49e747dd794219
parent0a361eb5ecd732c399bbc2a4648e9714f9cd8817 (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.
-rw-r--r--source/blender/editors/space_view3d/view3d_buttons.c5
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 */