Mercurial > hg > svgui
diff layer/Colour3DPlotLayer.cpp @ 463:1461cfc7e446
* The main fix here is to the arguments of SVApplication -- the first
one should be int& rather than int (was causing a crash! gah!)
Various other tiny fixes
author | Chris Cannam |
---|---|
date | Fri, 09 Jan 2009 14:55:12 +0000 |
parents | 272e58f0bf8b |
children | b77b79413cdb |
line wrap: on
line diff
--- a/layer/Colour3DPlotLayer.cpp Fri Dec 12 16:03:37 2008 +0000 +++ b/layer/Colour3DPlotLayer.cpp Fri Jan 09 14:55:12 2009 +0000 @@ -992,6 +992,8 @@ void Colour3DPlotLayer::paintDense(View *v, QPainter &paint, QRect rect) const { + if (!m_cache) return; + size_t modelStart = m_model->getStartFrame(); size_t modelResolution = m_model->getResolution();