Commit ffe7542e authored by Jan Möbius's avatar Jan Möbius

Fixed fix

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16345 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 7e302eb0
......@@ -258,7 +258,7 @@ void TopologyPlugin::add_face(QMouseEvent* _event) {
TriMesh::FaceVertexIter fv_it(m,fh);
TriMesh::VertexHandle closest = fv_it.handle();
// float shortest_distance = (m.point(closest) - hit_point).sqrnorm();
float shortest_distance = (m.point(closest) - hit_point).sqrnorm();
++fv_it;
if ( (m.point(fv_it.handle() ) - hit_point).sqrnorm() < shortest_distance ) {
......
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