From 61ad320d4ed9dd47a7b3028b35c4933907cb4cea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Thu, 7 May 2015 07:08:07 +0000 Subject: [PATCH] Fixed old OM3 port warning in smoother git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1262 fdac6126-5c0c-442c-9429-916003d36597 --- src/OpenMesh/Tools/Smoother/SmootherT.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OpenMesh/Tools/Smoother/SmootherT.cc b/src/OpenMesh/Tools/Smoother/SmootherT.cc index 02f7a2a1..2bb44bd0 100644 --- a/src/OpenMesh/Tools/Smoother/SmootherT.cc +++ b/src/OpenMesh/Tools/Smoother/SmootherT.cc @@ -260,11 +260,11 @@ set_relative_local_error(Scalar _err) // compute bounding box 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) { - bb_min.minimize(mesh_.point(v_it)); - bb_max.maximize(mesh_.point(v_it)); + bb_min.minimize(mesh_.point(*v_it)); + bb_max.maximize(mesh_.point(*v_it)); }