comparison layer/Colour3DPlotRenderer.cpp @ 1552:045063dcd2bc

Merge
author Chris Cannam
date Thu, 21 Nov 2019 14:03:19 +0000
parents e95cefd4aa81
children 8b78b3c330fb
comparison
equal deleted inserted replaced
1551:e79731086b0f 1552:045063dcd2bc
478 478
479 auto model = ModelById::getAs<DenseThreeDimensionalModel>(m_sources.source); 479 auto model = ModelById::getAs<DenseThreeDimensionalModel>(m_sources.source);
480 if (!model) return magRange; 480 if (!model) return magRange;
481 481
482 int x0 = rect.left(); 482 int x0 = rect.left();
483 int x1 = rect.right() + 1; 483 int x1 = x0 + rect.width();
484 484
485 int h = v->getPaintHeight(); 485 int h = v->getPaintHeight();
486 486
487 sv_frame_t modelStart = model->getStartFrame(); 487 sv_frame_t modelStart = model->getStartFrame();
488 sv_frame_t modelEnd = model->getEndFrame(); 488 sv_frame_t modelEnd = model->getEndFrame();