Remove MoveCenterTabController::outputLogSettings
If settings changes are logged to console it should be handled in the settings API.
This commit is contained in:
@@ -87,7 +87,6 @@ void MoveCenterTabController::initStage2( OverlayController* var_parent )
|
|||||||
{
|
{
|
||||||
this->parent = var_parent;
|
this->parent = var_parent;
|
||||||
zeroOffsets();
|
zeroOffsets();
|
||||||
outputLogSettings();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MoveCenterTabController::reloadOffsetProfiles()
|
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()
|
void MoveCenterTabController::outputLogPoses()
|
||||||
{
|
{
|
||||||
vr::TrackedDevicePose_t devicePosesStanding[vr::k_unMaxTrackedDeviceCount];
|
vr::TrackedDevicePose_t devicePosesStanding[vr::k_unMaxTrackedDeviceCount];
|
||||||
|
|||||||
@@ -213,7 +213,6 @@ private:
|
|||||||
void applyChaperoneResetData();
|
void applyChaperoneResetData();
|
||||||
void saveUncommittedChaperone();
|
void saveUncommittedChaperone();
|
||||||
void outputLogHmdMatrix( vr::HmdMatrix34_t hmdMatrix );
|
void outputLogHmdMatrix( vr::HmdMatrix34_t hmdMatrix );
|
||||||
void outputLogSettings();
|
|
||||||
|
|
||||||
std::vector<OffsetProfile> m_offsetProfiles;
|
std::vector<OffsetProfile> m_offsetProfiles;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user