# HG changeset patch # User Sebastien Jodogne # Date 1571137274 -7200 # Node ID 096c827cbf9e4b8e189a0b05af3c5d575826a92a # Parent f25e84cc5f87dab5cdf46e0a49d8f4d048f5f0a4 indent diff -r f25e84cc5f87 -r 096c827cbf9e OrthancServer/SliceOrdering.cpp --- 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]); }