Fix moving only the first vertex of a group of vertices being snapped

This commit is contained in:
Mael Rouxel-Labbé 2020-01-08 18:07:26 +01:00
parent bda619e538
commit 0c73fd740a
1 changed files with 2 additions and 1 deletions

View File

@ -564,7 +564,8 @@ std::size_t snap_vertices_two_way(const HalfedgeRange& halfedge_range_A,
{
if(is_second_mesh_fixed)
{
put(vpm_A, va, get(vpm_B, vb));
for(const halfedge_descriptor ha : vs_a)
put(vpm_A, target(ha, tm_A), get(vpm_B, vb));
}
else
{