mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
profile: call plotProfile() with correct parameters in draw()
The signature of draw() was changed to include "keepPlotData" as an optimization. The caller in draw() was not changed and now the plot data is not recalculated, which means no plot data at all in prints and exports. The various boolean parameters should be replaced by flags. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
50bf8705bc
commit
e8698d615b
1 changed files with 1 additions and 1 deletions
|
@ -600,7 +600,7 @@ void ProfileScene::draw(QPainter *painter, const QRect &pos,
|
|||
{
|
||||
QSize size = pos.size();
|
||||
resize(QSizeF(size));
|
||||
plotDive(d, dc, plannerModel, inPlanner, true, true);
|
||||
plotDive(d, dc, plannerModel, inPlanner, true, false, true);
|
||||
|
||||
QImage image(pos.size(), QImage::Format_ARGB32);
|
||||
image.fill(getColor(::BACKGROUND, isGrayscale));
|
||||
|
|
Loading…
Reference in a new issue