changeset 1767:e7b4479dea6f

back to older behavior
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 May 2021 11:42:08 +0200
parents ae18b5cfbd3e
children 226718777702
files OrthancStone/Sources/Volumes/VolumeImageGeometry.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancStone/Sources/Volumes/VolumeImageGeometry.cpp	Tue May 11 11:31:34 2021 +0200
+++ b/OrthancStone/Sources/Volumes/VolumeImageGeometry.cpp	Tue May 11 11:42:08 2021 +0200
@@ -259,7 +259,8 @@
                                         const CoordinateSystem3D& plane) const
   {
     bool isOpposite;
-    if (!DetectProjection(projection, isOpposite, plane.GetNormal()))
+    if (!DetectProjection(projection, isOpposite, plane.GetNormal()) ||
+        isOpposite /* TODO - Error in 2021-04-27-repro-bug-HFP-HFS-cartman */)
     {
       return false;
     }