Mercurial > hg > svgui
changeset 432:8b2b497d302c
* Fix race condition in FFTFileCache when reading from the same FFT model
from multiple threads (e.g. when applying more than one plugin at once)
author | Chris Cannam |
---|---|
date | Wed, 15 Oct 2008 12:08:02 +0000 |
parents | 4711b400f976 |
children | ac349afdb23f |
files | layer/RegionLayer.cpp |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/layer/RegionLayer.cpp Tue Oct 14 16:36:35 2008 +0000 +++ b/layer/RegionLayer.cpp Wed Oct 15 12:08:02 2008 +0000 @@ -501,8 +501,8 @@ getScaleExtents(v, min, max, logarithmic); - std::cerr << "RegionLayer[" << this << "]::getYForValue(" << val << "): min = " << min << ", max = " << max << ", log = " << logarithmic << std::endl; - std::cerr << "h = " << h << ", margin = " << margin << std::endl; +// std::cerr << "RegionLayer[" << this << "]::getYForValue(" << val << "): min = " << min << ", max = " << max << ", log = " << logarithmic << std::endl; +// std::cerr << "h = " << h << ", margin = " << margin << std::endl; if (logarithmic) { val = LogRange::map(val); @@ -511,7 +511,7 @@ h -= margin * 2; int y = margin + int(h - ((val - min) * h) / (max - min)) - 1; - std::cerr << "y = " << y << std::endl; +// std::cerr << "y = " << y << std::endl; return y; }