[Libreoffice-commits] core.git: 2 commits - chart2/source
Markus Mohrhard
markus.mohrhard at collabora.co.uk
Thu Jul 24 19:08:35 PDT 2014
chart2/source/model/main/ChartModel.cxx | 2 +-
chart2/source/view/main/ChartView.cxx | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 5e16ed096e636def009dd7db18cd96d304b14b69
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date: Fri Jul 25 03:59:11 2014 +0200
possible problem with 2D vs 3D renderer
Change-Id: I8f56e3ade87a28211f4ae1357795e74d661dbd18
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index 2e8dc25..c7dbcf6 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
commit 3f3d072dd7be6c27a2813fa47bac13f30c8b5a27
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date: Fri Jul 25 03:46:18 2014 +0200
fix indentation
Change-Id: Ic2b5e14c3a80d826fd6a31023f3821a333aed2d0
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx
index 2d2a848..f65f540 100644
--- a/chart2/source/model/main/ChartModel.cxx
+++ b/chart2/source/model/main/ChartModel.cxx
@@ -1428,7 +1428,7 @@ void ChartModel::update()
{
mpChartView->setViewDirty();
mpChartView->update();
- mpChartView->updateOpenGLWindow();
+ mpChartView->updateOpenGLWindow();
}
}
More information about the Libreoffice-commits
mailing list