Mercurial > hg > orthanc-stone
diff Framework/Toolbox/SlicesSorter.cpp @ 757:f7c236894c1a
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 22 May 2019 17:05:14 +0200 |
parents | e9339f2b5de7 |
children | a7351ad54960 |
line wrap: on
line diff
--- a/Framework/Toolbox/SlicesSorter.cpp Wed May 22 16:15:24 2019 +0200 +++ b/Framework/Toolbox/SlicesSorter.cpp Wed May 22 17:05:14 2019 +0200 @@ -271,7 +271,7 @@ assert(slices_[i] != NULL); double tmp; - if (CoordinateSystem3D::GetDistance(tmp, slices_[i]->GetGeometry(), slice)) + if (CoordinateSystem3D::ComputeDistance(tmp, slices_[i]->GetGeometry(), slice)) { if (!found || tmp < distance)