Remove MoveCenterTabController::outputLogSettings

If settings changes are logged to console it should be handled in the
settings API.
This commit is contained in:
Vasily
2019-12-10 08:28:41 +01:00
committed by username223
parent f91328298b
commit 89699825bf
2 changed files with 0 additions and 53 deletions
@@ -87,7 +87,6 @@ void MoveCenterTabController::initStage2( OverlayController* var_parent )
{
this->parent = var_parent;
zeroOffsets();
outputLogSettings();
}
void MoveCenterTabController::reloadOffsetProfiles()
@@ -210,57 +209,6 @@ void MoveCenterTabController::deleteOffsetProfile( unsigned index )
}
}
void MoveCenterTabController::outputLogSettings()
{
if ( settings::getSetting(
settings::BoolSetting::PLAYSPACE_moveShortcutLeft ) )
{
LOG( INFO ) << "LOADED SETTINGS: Left Hand Space-Drag Bind Enabled";
}
if ( settings::getSetting( settings::BoolSetting::PLAYSPACE_turnBindLeft ) )
{
LOG( INFO ) << "LOADED SETTINGS: Left Hand Space-Turn Bind Enabled";
}
if ( m_dragComfortFactor > 0 )
{
LOG( INFO ) << "LOADED SETTINGS: Space-Drag Comfort Factor = "
<< m_dragComfortFactor;
}
if ( m_turnComfortFactor > 0 )
{
LOG( INFO ) << "LOADED SETTINGS: Space-Turn Comfort Factor = "
<< m_turnComfortFactor;
}
if ( m_allowExternalEdits )
{
LOG( INFO ) << "LOADED SETTINGS: Allow External Edits Enabled";
}
if ( m_oldStyleMotion )
{
LOG( INFO ) << "LOADED SETTINGS: Old-Style Motion Enabled";
}
if ( m_universeCenteredRotation )
{
LOG( INFO ) << "LOADED SETTINGS: Universe-Centered Rotation Enabled";
}
if ( m_enableSeatedMotion )
{
LOG( INFO ) << "LOADED SETTINGS: Seated Motion Enabled";
}
if ( m_simpleRecenter )
{
LOG( INFO ) << "LOADED SETTINGS: Simple Recenter Enabled";
}
if ( m_dragBounds )
{
LOG( INFO ) << "LOADED SETTINGS: Space Drag Force Bounds Enabled";
}
if ( m_turnBounds )
{
LOG( INFO ) << "LOADED SETTINGS: Space Turn Force Bounds Enabled";
}
}
void MoveCenterTabController::outputLogPoses()
{
vr::TrackedDevicePose_t devicePosesStanding[vr::k_unMaxTrackedDeviceCount];
@@ -213,7 +213,6 @@ private:
void applyChaperoneResetData();
void saveUncommittedChaperone();
void outputLogHmdMatrix( vr::HmdMatrix34_t hmdMatrix );
void outputLogSettings();
std::vector<OffsetProfile> m_offsetProfiles;