mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 15:52:27 +02:00
Code review fixes
This commit is contained in:
parent
d4bc61fb3d
commit
5a1eac563b
2 changed files with 1 additions and 11 deletions
|
@ -86,11 +86,6 @@ void LODManager::autoAdjustLOD(float realTimeDelta) {
|
|||
if (_octreeSizeScale < ADJUST_LOD_MIN_SIZE_SCALE) {
|
||||
_octreeSizeScale = ADJUST_LOD_MIN_SIZE_SCALE;
|
||||
}
|
||||
// DEBUG: Less is more, avoid logging all the time
|
||||
/* qCDebug(interfaceapp) << "adjusting LOD DOWN"
|
||||
<< "fps =" << currentFPS
|
||||
<< "targetFPS =" << getLODDecreaseFPS()
|
||||
<< "octreeSizeScale =" << _octreeSizeScale; */
|
||||
emit LODDecreased();
|
||||
// Assuming the LOD adjustment will work: we optimistically reset _avgRenderTime
|
||||
// to provide an FPS just above the decrease threshold. It will drift close to its
|
||||
|
@ -112,11 +107,6 @@ void LODManager::autoAdjustLOD(float realTimeDelta) {
|
|||
if (_octreeSizeScale > ADJUST_LOD_MAX_SIZE_SCALE) {
|
||||
_octreeSizeScale = ADJUST_LOD_MAX_SIZE_SCALE;
|
||||
}
|
||||
// DEBUG: Less is more, avoid logging all the time
|
||||
/* qCDebug(interfaceapp) << "adjusting LOD UP"
|
||||
<< "fps =" << currentFPS
|
||||
<< "targetFPS =" << getLODDecreaseFPS()
|
||||
<< "octreeSizeScale =" << _octreeSizeScale; */
|
||||
emit LODIncreased();
|
||||
// Assuming the LOD adjustment will work: we optimistically reset _avgRenderTime
|
||||
// to provide an FPS just below the increase threshold. It will drift close to its
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
var NOTIFICATION_MENU_ITEM_POST = " Notifications";
|
||||
var PLAY_NOTIFICATION_SOUNDS_SETTING = "play_notification_sounds";
|
||||
var PLAY_NOTIFICATION_SOUNDS_TYPE_SETTING_PRE = "play_notification_sounds_type_";
|
||||
var NOTIFICATIONS_MESSAGE_CHANNEL = "Hifi-Notifications"
|
||||
var NOTIFICATIONS_MESSAGE_CHANNEL = "Hifi-Notifications";
|
||||
|
||||
var NotificationType = {
|
||||
UNKNOWN: 0,
|
||||
|
|
Loading…
Reference in a new issue