- lots of cleaning of the syntax to respect the coding standard - Fixed the device tracker singleton for clean destruction - introduced the Factory for the Leapmotion itstead of a naked constructor
Showing the changes to interface/src/Application.cpp (1 of 10 files). Show all
Unified · Split
| @@ -1709,9 +1709,7 @@ void Application::init() { · 1708 unmodified lines | |||
| 1709 | _faceplus.init(); | 1709 | _faceplus.init(); |
| 1710 | _visage.init(); | 1710 | _visage.init(); |
| 1711 | 1711 | ||
| 1712 | Leapmotion* leap = new Leapmotion(); | 1712 | Leapmotion* leap = Leapmotion::create(); |
| 1713 | int index = DeviceTracker::registerDevice( "Leapmotion", leap ); | ||
| 1714 | // _leapmotion.init(); | ||
| 1715 | 1713 | ||
| 1716 | // fire off an immediate domain-server check in now that settings are loaded | 1714 | // fire off an immediate domain-server check in now that settings are loaded |
| 1717 | NodeList::getInstance()->sendDomainServerCheckIn(); | 1715 | NodeList::getInstance()->sendDomainServerCheckIn(); |