diff options
Diffstat (limited to 'svgui/layer/Colour3DPlotRenderer.cpp')
-rw-r--r-- | svgui/layer/Colour3DPlotRenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svgui/layer/Colour3DPlotRenderer.cpp b/svgui/layer/Colour3DPlotRenderer.cpp index 641bda7..597ea70 100644 --- a/svgui/layer/Colour3DPlotRenderer.cpp +++ b/svgui/layer/Colour3DPlotRenderer.cpp @@ -480,7 +480,7 @@ Colour3DPlotRenderer::renderDirectTranslucent(const LayerGeometryProvider *v, if (!model) return magRange; int x0 = rect.left(); - int x1 = rect.right() + 1; + int x1 = x0 + rect.width(); int h = v->getPaintHeight(); |