Mercurial > hg > orthanc-stone
diff Framework/Toolbox/SlicesSorter.cpp @ 860:238693c3bc51 am-dev
merge default -> am-dev
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Mon, 24 Jun 2019 14:35:00 +0200 |
parents | f7c236894c1a |
children | a7351ad54960 |
line wrap: on
line diff
--- a/Framework/Toolbox/SlicesSorter.cpp Wed Jun 19 17:36:33 2019 +0200 +++ b/Framework/Toolbox/SlicesSorter.cpp Mon Jun 24 14:35:00 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)