Mercurial > hg > svgui
diff layer/Colour3DPlotRenderer.cpp @ 1141:f19dcb288123 spectrogram-minor-refactor
Minor tidy, + go back to opaque-only spectrogram as intended
author | Chris Cannam |
---|---|
date | Fri, 05 Aug 2016 13:48:14 +0100 |
parents | 2976f57164ac |
children | c53ed1a6fcbd |
line wrap: on
line diff
--- a/layer/Colour3DPlotRenderer.cpp Fri Aug 05 12:47:10 2016 +0100 +++ b/layer/Colour3DPlotRenderer.cpp Fri Aug 05 13:48:14 2016 +0100 @@ -238,21 +238,13 @@ pr.x(), pr.y(), pr.width(), pr.height()); if (!timeConstrained && (pr != rect)) { - //!!! on a first cut, there is a risk that this will happen - //!!! when we are at start/end of model -- trap, report, and - //!!! then fix - throw std::logic_error("internal error: failed to render entire requested rect even when not time-constrained"); + cerr << "WARNING: failed to render entire requested rect " + << "even when not time-constrained" << endl; } MagnitudeRange range = m_magCache.getRange(reqx0, reqx1 - reqx0); return { pr, range }; - - //!!! todo, here or in caller: illuminateLocalFeatures - - //!!! todo: handle vertical range other than full range of column - - //!!! fft model scaling? } Colour3DPlotRenderer::RenderType