comparison 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
comparison
equal deleted inserted replaced
462:0a78c6b6ebc5 463:1461cfc7e446
990 } 990 }
991 991
992 void 992 void
993 Colour3DPlotLayer::paintDense(View *v, QPainter &paint, QRect rect) const 993 Colour3DPlotLayer::paintDense(View *v, QPainter &paint, QRect rect) const
994 { 994 {
995 if (!m_cache) return;
996
995 size_t modelStart = m_model->getStartFrame(); 997 size_t modelStart = m_model->getStartFrame();
996 size_t modelResolution = m_model->getResolution(); 998 size_t modelResolution = m_model->getResolution();
997 999
998 float srRatio = 1000 float srRatio =
999 float(v->getViewManager()->getMainModelSampleRate()) / 1001 float(v->getViewManager()->getMainModelSampleRate()) /