force glove recalibration on backend initialize
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
|
||||
#include "SGConnect/SGConnect.h"
|
||||
#include "SGCore/SGDeviceList.h"
|
||||
#include "SGCore/SGHandLayer.h"
|
||||
#include "SGLog/SGLog.h"
|
||||
|
||||
struct USGBackend::FImpl
|
||||
@@ -114,6 +115,10 @@ bool USGBackend::InitializeBackend()
|
||||
FSGDeviceList::Dispose();
|
||||
FSGDeviceList::Reinitialize();
|
||||
|
||||
// Force reset the hands calibration.
|
||||
FSGHandLayer::ResetCalibration(false);
|
||||
FSGHandLayer::ResetCalibration(true);
|
||||
|
||||
bBackendInitialized = true;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user