diff options
author | xukai <xukai@multicorewareinc.com> | 2014-08-28 23:22:13 +0800 |
---|---|---|
committer | Kohei Yoshida <libreoffice@kohei.us> | 2014-09-23 14:56:41 +0000 |
commit | cc2bc03eb619e4016f6dd0e255726cda32a8dee6 (patch) | |
tree | 945d0e0dd4ba4dccee2e0414792e56797a0d8855 /chart2 | |
parent | 7d833aa8a7e572dd266c1e9f52826cbdbfc95185 (diff) |
fix the fly back bug
Change-Id: Ie866d02ab2ca3a5372dbeec6805eee42c8e10312
Reviewed-on: https://gerrit.libreoffice.org/11505
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/charttypes/GL3DBarChart.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx index 5241aa8eda79..96f1019b0740 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(); } |