Fix T100568: triangulate node resets vertices to rest position

The triangulate node is not supposed to take shape keys into account.
This was likely a mistake in rBabf30007abdac2a5bf3a1.
This commit is contained in:
Jacques Lucke 2022-08-22 18:15:33 +02:00
parent 5fff6c419c
commit 4fecf652e2
Notes: blender-bot 2023-02-14 05:25:44 +01:00
Referenced by issue #100568, Triangulate Node Resets Vertices To Rest Position
1 changed files with 0 additions and 3 deletions

View File

@ -47,9 +47,6 @@ static Mesh *triangulate_mesh_selection(const Mesh &mesh,
BMeshFromMeshParams from_mesh_params{};
from_mesh_params.calc_face_normal = true;
from_mesh_params.calc_vert_normal = true;
from_mesh_params.add_key_index = true;
from_mesh_params.use_shapekey = true;
from_mesh_params.active_shapekey = 1;
from_mesh_params.cd_mask_extra = cd_mask_extra;
BMesh *bm = BKE_mesh_to_bmesh_ex(&mesh, &create_params, &from_mesh_params);