History

fixes after first review

- 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

samcake committed 12 years ago

Commit c6e308b1 parent d6104e510 files · +344 −636Browse files

Showing the changes to interface/src/Application.cpp (1 of 10 files). Show all

Unified · Split

interface/src/Application.cpp+1−3
@@ -1709,9 +1709,7 @@ void Application::init() { · 1708 unmodified lines
17091709 _faceplus.init();
17101710 _visage.init();
17111711
1712− Leapmotion* leap = new Leapmotion();
1713− int index = DeviceTracker::registerDevice( "Leapmotion", leap );
1714− // _leapmotion.init();
1712+ Leapmotion* leap = Leapmotion::create();
17151713
17161714 // fire off an immediate domain-server check in now that settings are loaded
17171715 NodeList::getInstance()->sendDomainServerCheckIn();

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t