Attempting to fix judder issues

This commit is contained in:
Brad Davis 2015-08-21 10:01:11 -07:00
parent 72b1801b94
commit b8b0917d9d

View file

@ -993,6 +993,8 @@ void Application::paintGL() {
auto displayPlugin = getActiveDisplayPlugin();
displayPlugin->preRender();
_offscreenContext->makeCurrent();
// update the avatar with a fresh HMD pose
_myAvatar->updateFromHMDSensorMatrix(getHMDSensorPose());
auto lodManager = DependencyManager::get<LODManager>();
@ -2683,9 +2685,6 @@ void Application::update(float deltaTime) {
updateLOD();
updateMouseRay(); // check what's under the mouse and update the mouse voxel
// update the avatar with a fresh HMD pose
_myAvatar->updateFromHMDSensorMatrix(getHMDSensorPose());
{
PerformanceTimer perfTimer("devices");
DeviceTracker::updateAll();