comparison 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
comparison
equal deleted inserted replaced
1080:287ec78f63b4 1081:369050c846a9
136 void LookupTableTextureSceneLayer::FitRange() 136 void LookupTableTextureSceneLayer::FitRange()
137 { 137 {
138 Orthanc::ImageProcessing::GetMinMaxFloatValue(minValue_, maxValue_, GetTexture()); 138 Orthanc::ImageProcessing::GetMinMaxFloatValue(minValue_, maxValue_, GetTexture());
139 assert(minValue_ <= maxValue_); 139 assert(minValue_ <= maxValue_);
140 // TODO: debug to be removed 140 // TODO: debug to be removed
141 LOG(ERROR) << "LookupTableTextureSceneLayer::FitRange(): minValue_ = " << minValue_ << " maxValue_ = " << maxValue_; 141 if (fabs(maxValue_ - minValue_) < 0.0001) {
142 LOG(INFO) << "LookupTableTextureSceneLayer::FitRange(): minValue_ = " << minValue_ << " maxValue_ = " << maxValue_;
143 }
142 IncrementRevision(); 144 IncrementRevision();
143 } 145 }
144 146
145 147
146 ISceneLayer* LookupTableTextureSceneLayer::Clone() const 148 ISceneLayer* LookupTableTextureSceneLayer::Clone() const