[Bf-blender-cvs] [4fecf652e24] blender-v3.3-release: Fix T100568: triangulate node resets vertices to rest position

Jacques Lucke noreply at git.blender.org
Mon Aug 22 18:15:41 CEST 2022


Commit: 4fecf652e24e958e7f6712bc75884621b00f5878
Author: Jacques Lucke
Date:   Mon Aug 22 18:15:33 2022 +0200
Branches: blender-v3.3-release
https://developer.blender.org/rB4fecf652e24e958e7f6712bc75884621b00f5878

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