summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-07-25 03:59:11 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-07-25 04:00:36 +0200
commit5e16ed096e636def009dd7db18cd96d304b14b69 (patch)
tree57c80815b17399916c9cbe76b062c9c2244287f1 /chart2
parent3f3d072dd7be6c27a2813fa47bac13f30c8b5a27 (diff)
possible problem with 2D vs 3D renderer
Change-Id: I8f56e3ade87a28211f4ae1357795e74d661dbd18
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/ChartView.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index 2e8dc257a4bb..c7dbcf6299a5 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -3278,7 +3278,8 @@ void ChartView::createShapes3D()
void ChartView::updateOpenGLWindow()
{
- mp2DRenderer->updateOpenGLWindow();
+ if(!isReal3DChart())
+ mp2DRenderer->updateOpenGLWindow();
}
} //namespace chart