History

Moved MyAvatar update at the end of Application::update() to have latest data for simulation

Atlante45 committed 12 years ago

Commit 5fd3fd91 parent 490dad61 file · +6 −6Browse files

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

Unified · Split

interface/src/Application.cpp+6−6
@@ -2072,12 +2072,6 @@ void Application::update(float deltaTime) { · 2071 unmodified lines
2072 _prioVR.update(deltaTime);2072 _prioVR.update(deltaTime);
2073 2073
2074 }2074 }
2075 {
2076 PerformanceTimer perfTimer("myAvatar");
2077 updateMyAvatarLookAtPosition();
2078 updateMyAvatar(deltaTime); // Sample hardware, update view frustum if needed, and send avatar data to mixer/nodes
2079 }
2080
2081 2075
2082 // Dispatch input events2076 // Dispatch input events
2083 _controllerScriptingInterface.updateInputControllers();2077 _controllerScriptingInterface.updateInputControllers();
@@ -2109,6 +2103,12 @@ void Application::update(float deltaTime) { · 25 unmodified lines
2109 PerformanceTimer perfTimer("overlays");2103 PerformanceTimer perfTimer("overlays");
2110 _overlays.update(deltaTime);2104 _overlays.update(deltaTime);
2111 }2105 }
2106
2107 {
2108 PerformanceTimer perfTimer("myAvatar");
2109 updateMyAvatarLookAtPosition();
2110 updateMyAvatar(deltaTime); // Sample hardware, update view frustum if needed, and send avatar data to mixer/nodes
2111 }
2112 2112
2113 {2113 {
2114 PerformanceTimer perfTimer("emitSimulating");2114 PerformanceTimer perfTimer("emitSimulating");

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