diff --git a/Source/SenseGlove/Private/SenseGlove/Components/SGVirtualHandComponent.cpp b/Source/SenseGlove/Private/SenseGlove/Components/SGVirtualHandComponent.cpp index 01950adf..2c40d58b 100644 --- a/Source/SenseGlove/Private/SenseGlove/Components/SGVirtualHandComponent.cpp +++ b/Source/SenseGlove/Private/SenseGlove/Components/SGVirtualHandComponent.cpp @@ -534,11 +534,13 @@ bool USGVirtualHandComponent::FImpl::InitializeBackend() const SGLOG_ERROR("Device Scanning already being initialized (function called twice in short succession)."); return false; case 0: - SGLOG_ERROR("Device Scanning is already running within this program."); - return false; + // Do not pollute the logs! + //SGLOG_ERROR("Device Scanning is already running within this program."); + // We must return here in case there are two virtual hand components are present in the scene. + return true; case 1: - SGLOG_ERROR("Successfully started up DeviceScanning from the current program."); - break;; + SGLOG("Successfully started up DeviceScanning from the current program."); + break; default: ensureAlwaysMsgf(false, TEXT("Unhandled Init return status code!")); return false; @@ -587,8 +589,8 @@ bool USGVirtualHandComponent::FImpl::UninitializeBackend() const SGLOG_ERROR("There is no deviceScanner running from any program, so disposing is skipped."); return false; case 1: - SGLOG_ERROR("Successfully disposed of DeviceScanner resources."); - break;; + SGLOG("Successfully disposed of DeviceScanner resources."); + break; default: ensureAlwaysMsgf(false, TEXT("Unhandled Dispose return status code!")); return false;