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 | 612 | // destroy the AudioClient so it and its thread have a chance to go down safely |
| 613 | 613 | DependencyManager::destroy<AudioClient>(); |
| 614 | + | |
| 615 | +#ifdef HAVE_DDE | |
| 616 | + DependencyManager::destroy<DdeFaceTracker>(); | |
| 617 | +#endif | |
| 614 | 618 | } |
| 615 | 619 | |
| 616 | 620 | Application::~Application() { |
| @@ -1742,8 +1746,10 @@ FaceTracker* Application::getActiveFaceTracker() { · 1125 unmodified lines | ||
| 1742 | 1746 | void Application::setActiveFaceTracker() { |
| 1743 | 1747 | #ifdef HAVE_FACESHIFT |
| 1744 | 1748 | DependencyManager::get<Faceshift>()->setTCPEnabled(Menu::getInstance()->isOptionChecked(MenuOption::Faceshift)); |
| 1745 | −#endif | |
| 1749 | +#endif | |
| 1750 | +#ifdef HAVE_DDE | |
| 1746 | 1751 | DependencyManager::get<DdeFaceTracker>()->setEnabled(Menu::getInstance()->isOptionChecked(MenuOption::DDEFaceRegression)); |
| 1752 | +#endif | |
| 1747 | 1753 | #ifdef HAVE_VISAGE |
| 1748 | 1754 | DependencyManager::get<Visage>()->updateEnabled(); |
| 1749 | 1755 | #endif |