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:
authorHans Goudey <h.goudey@me.com>2022-05-30 20:31:07 +0300
committerHans Goudey <h.goudey@me.com>2022-05-30 20:31:07 +0300
commit831282db851157072abd229ad3c0cd15e58cd487 (patch)
treeb4a792249c9fa1d629ed70b39b8e40ae989463d6 /source/blender/bmesh/intern/bmesh_mesh_convert.cc
parent4d252b5aca9a459540882aa18e1633f526d4e0e4 (diff)
parentca5939170461d67b2be1cec2ec46d64d141e01c6 (diff)
Merge branch 'master' into temp-legacy-mesh-format-option
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_mesh_convert.cc')
-rw-r--r--source/blender/bmesh/intern/bmesh_mesh_convert.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/bmesh/intern/bmesh_mesh_convert.cc b/source/blender/bmesh/intern/bmesh_mesh_convert.cc
index 40f1d7c496d..bb1fe749e6b 100644
--- a/source/blender/bmesh/intern/bmesh_mesh_convert.cc
+++ b/source/blender/bmesh/intern/bmesh_mesh_convert.cc
@@ -225,9 +225,6 @@ void BM_mesh_bm_from_me(BMesh *bm, const Mesh *me, const struct BMeshFromMeshPar
return; /* Sanity check. */
}
- /* Only copy normals to the new BMesh if they are not already dirty. This avoids unnecessary
- * work, but also accessing normals on an incomplete mesh, for example when restoring undo steps
- * in edit mode. */
const float(*vert_normals)[3] = nullptr;
if (params->calc_vert_normal) {
vert_normals = BKE_mesh_vertex_normals_ensure(me);