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

New commits:
commit cc2bc03eb619e4016f6dd0e255726cda32a8dee6
Author: xukai <[email protected]>
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 <[email protected]>
    Tested-by: Kohei Yoshida <[email protected]>

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();
 }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to