[Bf-blender-cvs] [cc9e109e138] temp-eevee-next-cryptomatte: Fix T100568: triangulate node resets vertices to rest position
Jacques Lucke
noreply at git.blender.org
Tue Aug 23 12:59:55 CEST 2022
Commit: cc9e109e1389014cd0474147cbf155c20ed61a71
Author: Jacques Lucke
Date: Mon Aug 22 18:15:33 2022 +0200
Branches: temp-eevee-next-cryptomatte
https://developer.blender.org/rBcc9e109e1389014cd0474147cbf155c20ed61a71
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.
===================================================================
M source/blender/nodes/geometry/nodes/node_geo_triangulate.cc
===================================================================
diff --git a/source/blender/nodes/geometry/nodes/node_geo_triangulate.cc b/source/blender/nodes/geometry/nodes/node_geo_triangulate.cc
index 992470e8279..5cc4d6e6dbc 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_triangulate.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_triangulate.cc
@@ -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);
More information about the Bf-blender-cvs
mailing list