diff Framework/Scene2D/FloatTextureSceneLayer.cpp @ 1290:7def6ab2929f bugs/2020-02-invisible-slice

Removal of debugging logs
author Benjamin Golinvaux <bgo@osimis.io>
date Fri, 21 Feb 2020 15:20:29 +0100
parents 343aa1dfaa90
children 6ab03e429f06 8a0a62189f46
line wrap: on
line diff
--- a/Framework/Scene2D/FloatTextureSceneLayer.cpp	Wed Feb 19 17:05:08 2020 +0100
+++ b/Framework/Scene2D/FloatTextureSceneLayer.cpp	Fri Feb 21 15:20:29 2020 +0100
@@ -41,29 +41,6 @@
 
       Orthanc::ImageProcessing::Convert(*t, texture);
 
-      if (OrthancStone_Internals_dump_LoadTexture_histogram == 1)
-      {
-        LOG(INFO) << "+----------------------------------------+";
-        LOG(INFO) << "|        This is not an error!           |";
-        LOG(INFO) << "+----------------------------------------+";
-        LOG(INFO) << "Work on the \"invisible slice\" bug";
-        LOG(INFO) << "in FloatTextureSceneLayer::FloatTextureSceneLayer";
-        LOG(INFO) << "will dump \"t\" after \"Orthanc::ImageProcessing::Convert(*t, texture);\"";
-
-        HistogramData hd;
-        double minValue = 0;
-        double maxValue = 0;
-        ComputeMinMax(*t, minValue, maxValue);
-        double binSize = (maxValue - minValue) * 0.01;
-        ComputeHistogram(*t, hd, binSize);
-        std::string s;
-        DumpHistogramResult(s, hd);
-        LOG(INFO) << s;
-        LOG(INFO) << "+----------------------------------------+";
-        LOG(INFO) << "|        end of debug dump               |";
-        LOG(INFO) << "+----------------------------------------+";
-      }
-
       SetTexture(t.release());
     }