Commit 91b2031a authored by Jan Möbius's avatar Jan Möbius

Merge branch 'replace_types' into 'master'

make sure the two types in replace match

See merge request !1
parents 95eb1333 8634ef3c
......@@ -148,7 +148,7 @@ void NonManifoldVertexFixingT<MeshT>::fix()
//if one face wasn't found in the component = 1 run, then it is a new component, due to split
if (componentCount > 1 && v_new.is_valid())
{
std::replace(f_vertices.begin(),f_vertices.end(),*v_iter,v_new);
std::replace(f_vertices.begin(),f_vertices.end(),typename MeshT::VertexHandle(*v_iter),v_new);
mesh_.delete_face(face,false);
mesh_.add_face(f_vertices);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment