Mercurial > hg > orthanc-stone
diff Framework/Scene2D/LookupTableTextureSceneLayer.cpp @ 1081:369050c846a9 toa2019102101
Removed erron. error log
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Mon, 21 Oct 2019 20:51:35 +0200 |
parents | 287ec78f63b4 |
children | 640feb146fa8 |
line wrap: on
line diff
--- a/Framework/Scene2D/LookupTableTextureSceneLayer.cpp Mon Oct 21 16:01:29 2019 +0200 +++ b/Framework/Scene2D/LookupTableTextureSceneLayer.cpp Mon Oct 21 20:51:35 2019 +0200 @@ -138,7 +138,9 @@ Orthanc::ImageProcessing::GetMinMaxFloatValue(minValue_, maxValue_, GetTexture()); assert(minValue_ <= maxValue_); // TODO: debug to be removed - LOG(ERROR) << "LookupTableTextureSceneLayer::FitRange(): minValue_ = " << minValue_ << " maxValue_ = " << maxValue_; + if (fabs(maxValue_ - minValue_) < 0.0001) { + LOG(INFO) << "LookupTableTextureSceneLayer::FitRange(): minValue_ = " << minValue_ << " maxValue_ = " << maxValue_; + } IncrementRevision(); }