Showing the changes to interface/src/Application.cpp (1 of 17 files). Show all
Unified · Split
| @@ -611,6 +611,10 @@ void Application::cleanupBeforeQuit() { · 610 unmodified lines | |||
| 611 | 611 | ||
| 612 | // destroy the AudioClient so it and its thread have a chance to go down safely | 612 | // destroy the AudioClient so it and its thread have a chance to go down safely |
| 613 | DependencyManager::destroy<AudioClient>(); | 613 | DependencyManager::destroy<AudioClient>(); |
| 614 | |||
| 615 | #ifdef HAVE_DDE | ||
| 616 | DependencyManager::destroy<DdeFaceTracker>(); | ||
| 617 | #endif | ||
| 614 | } | 618 | } |
| 615 | 619 | ||
| 616 | Application::~Application() { | 620 | Application::~Application() { |
| @@ -1742,8 +1746,10 @@ FaceTracker* Application::getActiveFaceTracker() { · 1125 unmodified lines | |||
| 1742 | void Application::setActiveFaceTracker() { | 1746 | void Application::setActiveFaceTracker() { |
| 1743 | #ifdef HAVE_FACESHIFT | 1747 | #ifdef HAVE_FACESHIFT |
| 1744 | DependencyManager::get<Faceshift>()->setTCPEnabled(Menu::getInstance()->isOptionChecked(MenuOption::Faceshift)); | 1748 | DependencyManager::get<Faceshift>()->setTCPEnabled(Menu::getInstance()->isOptionChecked(MenuOption::Faceshift)); |
| 1745 | #endif | 1749 | #endif |
| 1750 | #ifdef HAVE_DDE | ||
| 1746 | DependencyManager::get<DdeFaceTracker>()->setEnabled(Menu::getInstance()->isOptionChecked(MenuOption::DDEFaceRegression)); | 1751 | DependencyManager::get<DdeFaceTracker>()->setEnabled(Menu::getInstance()->isOptionChecked(MenuOption::DDEFaceRegression)); |
| 1752 | #endif | ||
| 1747 | #ifdef HAVE_VISAGE | 1753 | #ifdef HAVE_VISAGE |
| 1748 | DependencyManager::get<Visage>()->updateEnabled(); | 1754 | DependencyManager::get<Visage>()->updateEnabled(); |
| 1749 | #endif | 1755 | #endif |