diff OrthancStone/Sources/Volumes/VolumeImageGeometry.cpp @ 1768:226718777702

fix DicomVolumeImageMPRSlicer::Slice::CreateSceneLayer() for opposite normals
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 May 2021 17:18:39 +0200
parents e7b4479dea6f
children 3889ae96d2e9
line wrap: on
line diff
--- a/OrthancStone/Sources/Volumes/VolumeImageGeometry.cpp	Tue May 11 11:42:08 2021 +0200
+++ b/OrthancStone/Sources/Volumes/VolumeImageGeometry.cpp	Tue May 11 17:18:39 2021 +0200
@@ -259,8 +259,7 @@
                                         const CoordinateSystem3D& plane) const
   {
     bool isOpposite;
-    if (!DetectProjection(projection, isOpposite, plane.GetNormal()) ||
-        isOpposite /* TODO - Error in 2021-04-27-repro-bug-HFP-HFS-cartman */)
+    if (!DetectProjection(projection, isOpposite, plane.GetNormal()))
     {
       return false;
     }