summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-12-02 10:36:31 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-12-02 10:36:31 +0100
commit0d01d287f56584552eea650cb7b4c3a7912b5f6b (patch)
tree8167a557d1ca90e138c7baf168f3f0bb227e37b6
parent020ca3f3d768fe353a802a125b45dcabd29b947e (diff)
remove redundant mutex acquisition
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
-rw-r--r--ftnoir_filter_accela/ftnoir_filter_accela.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/ftnoir_filter_accela/ftnoir_filter_accela.cpp b/ftnoir_filter_accela/ftnoir_filter_accela.cpp
index 09f74e5a..08829e52 100644
--- a/ftnoir_filter_accela/ftnoir_filter_accela.cpp
+++ b/ftnoir_filter_accela/ftnoir_filter_accela.cpp
@@ -123,7 +123,6 @@ void FTNoIR_Filter::FilterHeadPoseData(const double* target_camera_position,
} else {
auto d = timer.elapsed();
double c = clamp(0.0, 1.0, d / (double) frame_delta);
- QMutexLocker foo(&mutex);
for (int i = 0; i < 6; i++)
new_camera_position[i] =
last_output[1][i] + (last_output[0][i] - last_output[1][i]) * c;