diff --git a/mesh_ops/MeshExtrudeLoop.cs b/mesh_ops/MeshExtrudeLoop.cs index a66d2907..b05fa389 100644 --- a/mesh_ops/MeshExtrudeLoop.cs +++ b/mesh_ops/MeshExtrudeLoop.cs @@ -58,7 +58,7 @@ public virtual bool Extrude(int group_id = -1) for ( int i = 0; i < NV; ++i ) { Vector3d v = Mesh.GetVertex(Loop.Vertices[i]); Vector3f n = Mesh.GetVertexNormal(Loop.Vertices[i]); - Vector3d new_v = PositionF(v, n, i); + Vector3d new_v = PositionF(v, n, Loop.Vertices[i]); Mesh.SetVertex(NewLoop.Vertices[i], new_v); }