From 8684384316aae72442230ff48495ed80b099457d Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Fri, 24 Oct 2014 16:38:57 -0700 Subject: [PATCH] Disconnect metavoxel LOD from avatar LOD. --- interface/src/MetavoxelSystem.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/interface/src/MetavoxelSystem.cpp b/interface/src/MetavoxelSystem.cpp index 2071ea8c3d..a9bdad8148 100644 --- a/interface/src/MetavoxelSystem.cpp +++ b/interface/src/MetavoxelSystem.cpp @@ -110,11 +110,9 @@ int SimulateVisitor::visit(MetavoxelInfo& info) { void MetavoxelSystem::simulate(float deltaTime) { // update the lod { - // the LOD threshold is temporarily tied to the avatar LOD parameter QWriteLocker locker(&_lodLock); - const float BASE_LOD_THRESHOLD = 0.01f; - _lod = MetavoxelLOD(Application::getInstance()->getCamera()->getPosition(), - BASE_LOD_THRESHOLD * Menu::getInstance()->getAvatarLODDistanceMultiplier()); + const float DEFAULT_LOD_THRESHOLD = 0.01f; + _lod = MetavoxelLOD(Application::getInstance()->getCamera()->getPosition(), DEFAULT_LOD_THRESHOLD); } SimulateVisitor simulateVisitor(deltaTime, getLOD());