From 8bdaeda9e6ade4870d6dbb4490df969605dba08a Mon Sep 17 00:00:00 2001 From: Mamadou Babaei Date: Wed, 10 Apr 2024 16:38:33 +0200 Subject: [PATCH] do not call FSGHandLayer::ResetCalibration on every backend initialization --- CHANGELOG.md | 2 ++ Source/SenseGloveBackend/Private/SGBackend/SGBackend.cpp | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ee2d2a2..185fcc93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - SenseGlove libraries have been updated to v2.102.0-35d4de3f. +- Together, SenseGlove libraries v2.102.0-35d4de3f and SenseCom v1.6.1 remove the need to call ResetCalibration every time and are able to store and load calibration profiles from disk. +- SesenGloveBackend module is no longer calling FSGHandLayer::ResetCalibration on every backend initialization. ## [2.0.0] - 2024-03-22 diff --git a/Source/SenseGloveBackend/Private/SGBackend/SGBackend.cpp b/Source/SenseGloveBackend/Private/SGBackend/SGBackend.cpp index 4f01ee29..69013d4f 100644 --- a/Source/SenseGloveBackend/Private/SGBackend/SGBackend.cpp +++ b/Source/SenseGloveBackend/Private/SGBackend/SGBackend.cpp @@ -118,10 +118,6 @@ bool USGBackend::InitializeBackend() FSGDeviceList::Dispose(); FSGDeviceList::Reinitialize(); - // Force reset the hands calibration. - FSGHandLayer::ResetCalibration(false); - FSGHandLayer::ResetCalibration(true); - bBackendInitialized = true; return true;