History

Remove notifications and print outs for LOD changes because it was too much noise

samcake committed 8 years ago

Commit d4bc61f1 parent 7ba05e32 files · +13 −35Browse files

Showing the changes to interface/src/LODManager.cpp (1 of 2 files). Show all

Unified · Split

interface/src/LODManager.cpp+6−4
@@ -86,10 +86,11 @@ void LODManager::autoAdjustLOD(float realTimeDelta) { · 85 unmodified lines
8686 if (_octreeSizeScale < ADJUST_LOD_MIN_SIZE_SCALE) {
8787 _octreeSizeScale = ADJUST_LOD_MIN_SIZE_SCALE;
8888 }
89− qCDebug(interfaceapp) << "adjusting LOD DOWN"
89+ // DEBUG: Less is more, avoid logging all the time
90+ /* qCDebug(interfaceapp) << "adjusting LOD DOWN"
9091 << "fps =" << currentFPS
9192 << "targetFPS =" << getLODDecreaseFPS()
92− << "octreeSizeScale =" << _octreeSizeScale;
93+ << "octreeSizeScale =" << _octreeSizeScale; */
9394 emit LODDecreased();
9495 // Assuming the LOD adjustment will work: we optimistically reset _avgRenderTime
9596 // 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
111112 if (_octreeSizeScale > ADJUST_LOD_MAX_SIZE_SCALE) {
112113 _octreeSizeScale = ADJUST_LOD_MAX_SIZE_SCALE;
113114 }
114− qCDebug(interfaceapp) << "adjusting LOD UP"
115+ // DEBUG: Less is more, avoid logging all the time
116+ /* qCDebug(interfaceapp) << "adjusting LOD UP"
115117 << "fps =" << currentFPS
116118 << "targetFPS =" << getLODDecreaseFPS()
117− << "octreeSizeScale =" << _octreeSizeScale;
119+ << "octreeSizeScale =" << _octreeSizeScale; */
118120 emit LODIncreased();
119121 // Assuming the LOD adjustment will work: we optimistically reset _avgRenderTime
120122 // to provide an FPS just below the increase threshold. It will drift close to its

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