Fixed old OM3 port warning in smoother

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1262 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2015-05-07 07:08:07 +00:00
parent 021b7a4320
commit 61ad320d4e

View File

@@ -260,11 +260,11 @@ set_relative_local_error(Scalar _err)
// compute bounding box // compute bounding box
Point bb_min, bb_max; Point bb_min, bb_max;
bb_min = bb_max = mesh_.point(v_it); bb_min = bb_max = mesh_.point(*v_it);
for (++v_it; v_it!=v_end; ++v_it) for (++v_it; v_it!=v_end; ++v_it)
{ {
bb_min.minimize(mesh_.point(v_it)); bb_min.minimize(mesh_.point(*v_it));
bb_max.maximize(mesh_.point(v_it)); bb_max.maximize(mesh_.point(*v_it));
} }