[Libreoffice-commits] core.git: chart2/source

xukai xukai at multicorewareinc.com
Tue Sep 23 07:57:16 PDT 2014


 chart2/source/view/charttypes/GL3DBarChart.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit cc2bc03eb619e4016f6dd0e255726cda32a8dee6
Author: xukai <xukai at multicorewareinc.com>
Date:   Thu Aug 28 23:22:13 2014 +0800

    fix the fly back bug
    
    Change-Id: Ie866d02ab2ca3a5372dbeec6805eee42c8e10312
    Reviewed-on: https://gerrit.libreoffice.org/11505
    Reviewed-by: Kohei Yoshida <libreoffice at kohei.us>
    Tested-by: Kohei Yoshida <libreoffice at kohei.us>

diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx
index 5241aa8..96f1019 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -310,6 +310,7 @@ void RenderBenchMarkThread::MoveToBar()
         maStepDirection = (maTargetDirection - mpChart->maCameraDirection)/((float)mnStepsTotal);
         mpChart->maClickCond.set();
         mbExecuting = true;
+        mbNeedFlyBack = false;
         mpChart->mpRenderer->StartClick(mpChart->mnSelectBarId);
     }
     MoveCamera();
@@ -339,6 +340,7 @@ void RenderBenchMarkThread::AutoMoveToBar()
         maStepDirection = (maTargetDirection - mpChart->maCameraDirection)/((float)mnStepsTotal);
         mpChart->mpRenderer->StartClick(mpChart->mnSelectBarId);
         mbAutoFlyExecuting = true;
+        mbNeedFlyBack = false;
     }
     MoveCamera();
 }


More information about the Libreoffice-commits mailing list