Showing the changes to interface/src/LODManager.cpp (1 of 2 files). Show all
Unified · Split
| @@ -86,10 +86,11 @@ void LODManager::autoAdjustLOD(float realTimeDelta) { · 85 unmodified lines | ||
| 86 | 86 | if (_octreeSizeScale < ADJUST_LOD_MIN_SIZE_SCALE) { |
| 87 | 87 | _octreeSizeScale = ADJUST_LOD_MIN_SIZE_SCALE; |
| 88 | 88 | } |
| 89 | − qCDebug(interfaceapp) << "adjusting LOD DOWN" | |
| 89 | + // DEBUG: Less is more, avoid logging all the time | |
| 90 | + /* qCDebug(interfaceapp) << "adjusting LOD DOWN" | |
| 90 | 91 | << "fps =" << currentFPS |
| 91 | 92 | << "targetFPS =" << getLODDecreaseFPS() |
| 92 | − << "octreeSizeScale =" << _octreeSizeScale; | |
| 93 | + << "octreeSizeScale =" << _octreeSizeScale; */ | |
| 93 | 94 | emit LODDecreased(); |
| 94 | 95 | // Assuming the LOD adjustment will work: we optimistically reset _avgRenderTime |
| 95 | 96 | // to provide an FPS just above the decrease threshold. It will drift close to its |
| @@ -111,10 +112,11 @@ void LODManager::autoAdjustLOD(float realTimeDelta) { · 15 unmodified lines | ||
| 111 | 112 | if (_octreeSizeScale > ADJUST_LOD_MAX_SIZE_SCALE) { |
| 112 | 113 | _octreeSizeScale = ADJUST_LOD_MAX_SIZE_SCALE; |
| 113 | 114 | } |
| 114 | − qCDebug(interfaceapp) << "adjusting LOD UP" | |
| 115 | + // DEBUG: Less is more, avoid logging all the time | |
| 116 | + /* qCDebug(interfaceapp) << "adjusting LOD UP" | |
| 115 | 117 | << "fps =" << currentFPS |
| 116 | 118 | << "targetFPS =" << getLODDecreaseFPS() |
| 117 | − << "octreeSizeScale =" << _octreeSizeScale; | |
| 119 | + << "octreeSizeScale =" << _octreeSizeScale; */ | |
| 118 | 120 | emit LODIncreased(); |
| 119 | 121 | // Assuming the LOD adjustment will work: we optimistically reset _avgRenderTime |
| 120 | 122 | // to provide an FPS just below the increase threshold. It will drift close to its |