summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-06-06 08:11:28 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-06-06 08:11:28 +0200
commitf7aa064edc20eafbc738271c5b53238fa4ad8361 (patch)
treea1c6c107fb82a0ba647f6f72fb24691a1e8f4bc7 /facetracknoir
parent2b83e2db9552d3f0abd3c4bb5543f72a96e4e4bf (diff)
Remove dead code
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/global-settings.cpp6
-rw-r--r--facetracknoir/tracker.cpp4
2 files changed, 0 insertions, 10 deletions
diff --git a/facetracknoir/global-settings.cpp b/facetracknoir/global-settings.cpp
index be7fd7a7..2ab08a9d 100644
--- a/facetracknoir/global-settings.cpp
+++ b/facetracknoir/global-settings.cpp
@@ -85,12 +85,6 @@ SelectedLibraries::SelectedLibraries(IDynamicLibraryProvider* mainApp) :
pSecondTracker->StartTracker( mainApp->get_video_widget() );
}
- if (pFilter)
- pFilter->Initialize();
-
- if (pProtocol)
- pProtocol->Initialize();
-
correct = true;
}
diff --git a/facetracknoir/tracker.cpp b/facetracknoir/tracker.cpp
index 03c521c6..380d1748 100644
--- a/facetracknoir/tracker.cpp
+++ b/facetracknoir/tracker.cpp
@@ -156,10 +156,6 @@ void Tracker::run() {
Tracker::do_center = false;
- // for kalman
- if (Libraries->pFilter)
- Libraries->pFilter->Initialize();
-
if (Libraries->pTracker)
Libraries->pTracker->NotifyCenter();