Commit: b9727dae829dcdfcf4df09dec91185608bcffdd0
Author: Hans Goudey
Date:   Thu Sep 8 09:50:28 2022 -0500
Branches: master
https://developer.blender.org/rBb9727dae829dcdfcf4df09dec91185608bcffdd0

Cleanup: Remove redundant vertex duplication in extrude node

Now this is done by `Mesh::verts_for_write()`

===================================================================

M       source/blender/nodes/geometry/nodes/node_geo_extrude_mesh.cc

===================================================================

diff --git a/source/blender/nodes/geometry/nodes/node_geo_extrude_mesh.cc 
b/source/blender/nodes/geometry/nodes/node_geo_extrude_mesh.cc
index 9224e9d55f3..64779494e3e 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_extrude_mesh.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_extrude_mesh.cc
@@ -98,10 +98,6 @@ static void expand_mesh(Mesh &mesh,
     mesh.totvert += vert_expand;
     CustomData_realloc(&mesh.vdata, mesh.totvert);
   }
-  else {
-    /* Even when the number of vertices is not changed, the mesh can still be 
deformed. */
-    CustomData_duplicate_referenced_layer(&mesh.vdata, CD_MVERT, mesh.totvert);
-  }
   if (edge_expand != 0) {
     CustomData_duplicate_referenced_layers(&mesh.edata, mesh.totedge);
     mesh.totedge += edge_expand;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to