Mercurial > hg > orthanc
changeset 3540:096c827cbf9e
indent
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 15 Oct 2019 13:01:14 +0200 |
parents | f25e84cc5f87 |
children | 4beabcea3a5c 25126912aa2c |
files | OrthancServer/SliceOrdering.cpp |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/SliceOrdering.cpp Tue Oct 15 12:57:16 2019 +0200 +++ b/OrthancServer/SliceOrdering.cpp Tue Oct 15 13:01:14 2019 +0200 @@ -335,7 +335,9 @@ for (size_t i = 0; i < instances_.size(); i++) { assert(instances_[i] != NULL); - if (instances_[i]->HasPosition() && (!instances_[i]->HasNormal() || IsParallelOrOpposite(instances_[i]->GetNormal(), normal_))) + if (instances_[i]->HasPosition() && + (!instances_[i]->HasNormal() || + IsParallelOrOpposite(instances_[i]->GetNormal(), normal_))) { sortedInstances_.push_back(instances_[i]); }