Fix T86458: Simple Subdivision node does not preserve vertex groups
Differential Revision: https://developer.blender.org/D10683
This commit is contained in:
@@ -91,7 +91,8 @@ static void geo_node_subdivide_exec(GeoNodeExecParams params)
|
||||
Mesh *mesh_out = BKE_subdiv_to_mesh(subdiv, &mesh_settings, mesh_in);
|
||||
BKE_mesh_calc_normals(mesh_out);
|
||||
|
||||
geometry_set.replace_mesh(mesh_out);
|
||||
MeshComponent &mesh_component = geometry_set.get_component_for_write<MeshComponent>();
|
||||
mesh_component.replace_mesh_but_keep_vertex_group_names(mesh_out);
|
||||
|
||||
BKE_subdiv_free(subdiv);
|
||||
|
||||
|
Reference in New Issue
Block a user