History

modified scope of devices stats

Andrew Meadows committed 12 years ago

Commit 6ffa09f1 parent 3d6752a6 files · +23 −15Browse files

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

Unified · Split

interface/src/Application.cpp+8−13
@@ -1853,8 +1853,6 @@ void Application::updateMouseRay() { · 1852 unmodified lines
18531853 }
18541854
18551855 void Application::updateFaceshift() {
1856− PerformanceTimer perfTimer("faceshift");
1857−
18581856 bool showWarnings = Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings);
18591857 PerformanceWarning warn(showWarnings, "Application::updateFaceshift()");
18601858
@@ -1868,8 +1866,6 @@ void Application::updateFaceshift() { · 7 unmodified lines
18681866 }
18691867
18701868 void Application::updateVisage() {
1871− PerformanceTimer perfTimer("visage");
1872−
18731869 bool showWarnings = Menu::getInstance()->isOptionChecked(MenuOption::PipelineWarnings);
18741870 PerformanceWarning warn(showWarnings, "Application::updateVisage()");
18751871
@@ -2055,18 +2051,17 @@ void Application::update(float deltaTime) { · 179 unmodified lines
20552051
20562052 updateLOD();
20572053 updateMouseRay(); // check what's under the mouse and update the mouse voxel
2058− updateFaceshift();
2059− updateVisage();
2060−
2054+ {
2055+ PerformanceTimer perfTimer("devices");
2056+ updateFaceshift();
2057+ updateVisage();
2058+ _sixenseManager.update(deltaTime);
2059+ _joystickManager.update();
2060+ _prioVR.update(deltaTime);
2061+ }
20612062 {
20622063 PerformanceTimer perfTimer("myAvatar");
20632064 updateMyAvatarLookAtPosition();
2064− {
2065− PerformanceTimer perfTimer("devices");
2066− _sixenseManager.update(deltaTime);
2067− _joystickManager.update();
2068− _prioVR.update(deltaTime);
2069− }
20702065 updateMyAvatar(deltaTime); // Sample hardware, update view frustum if needed, and send avatar data to mixer/nodes
20712066 }
20722067

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