From 9aa240c910eb64a65729cb3761b2fc18c1d2c140 Mon Sep 17 00:00:00 2001 From: daemyung jang Date: Thu, 5 Jun 2014 14:38:12 +0900 Subject: [PATCH] Change the default pan algorithm [problem] Jitter problem is happend. [cause] Cause by the prediction algorithm. [solution] Use the average algorithm. --- dali/internal/update/gestures/scene-graph-pan-gesture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dali/internal/update/gestures/scene-graph-pan-gesture.cpp b/dali/internal/update/gestures/scene-graph-pan-gesture.cpp index 4a476ba..180ff46 100644 --- a/dali/internal/update/gestures/scene-graph-pan-gesture.cpp +++ b/dali/internal/update/gestures/scene-graph-pan-gesture.cpp @@ -36,7 +36,7 @@ const int MAX_GESTURE_AGE = 50; ///< maximum age of a gesture before disallowing const float DEFAULT_PREDICTION_INTERPOLATION = 0.0f; ///< how much to interpolate pan position and displacement from last vsync time } // unnamed namespace -const PanGesture::PredictionMode PanGesture::DEFAULT_PREDICTION_MODE = PanGesture::PREDICTION_2; +const PanGesture::PredictionMode PanGesture::DEFAULT_PREDICTION_MODE = PanGesture::AVERAGE; const int PanGesture::NUM_PREDICTION_MODES = PanGesture::PREDICTION_2 + 1; PanGesture* PanGesture::New() -- 2.7.4