Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -2072,12 +2072,6 @@ void Application::update(float deltaTime) { · 2071 unmodified lines | ||
| 2072 | 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 | 2076 | // Dispatch input events |
| 2083 | 2077 | _controllerScriptingInterface.updateInputControllers(); |
| @@ -2109,6 +2103,12 @@ void Application::update(float deltaTime) { · 25 unmodified lines | ||
| 2109 | 2103 | PerformanceTimer perfTimer("overlays"); |
| 2110 | 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 | 2114 | PerformanceTimer perfTimer("emitSimulating"); |