[Libreoffice-commits] core.git: Branch 'feature/chart_opengl_window' - chart2/source

Zolnai Tamás tamas.zolnai at collabora.com
Mon Aug 25 10:10:11 PDT 2014


 chart2/source/view/main/ChartView.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit b056d3d0bedcb23786841c89d3029df37da0ba3e
Author: Zolnai Tamás <tamas.zolnai at collabora.com>
Date:   Mon Aug 25 19:03:27 2014 +0200

    Revert "Stop flickering in rendering of charts in Writer"
    
    Hide when it's actually a normal chart.
    
    This reverts commit b79b862927d937d695b31df4bdb85d1fc8774f39.
    
    Change-Id: Ib7aee142cea979293864f3916eb0580a82605b2b

diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index 07e6c281..8665d45 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -2496,6 +2496,11 @@ void ChartView::createShapes()
     else
     {
         m_pGL3DPlotter.reset();
+
+        // hide OpenGL window for now in normal charts
+        OpenGLWindow* pWindow = mrChartModel.getOpenGLWindow();
+        if(pWindow && !getenv("CHART_DUMMY_FACTORY"))
+            pWindow->Show(false);
     }
 #endif
 


More information about the Libreoffice-commits mailing list