changeset 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 0a78c6b6ebc5
children 69089c9dc42e
files layer/Colour3DPlotLayer.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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();