mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 10:02:24 +02:00
NeuronPlugin: register for combination mode
This will tell us, if user is using arms, upper-body or full body configurations.
This commit is contained in:
parent
fd3eed3d41
commit
27e80913d6
1 changed files with 3 additions and 0 deletions
|
@ -463,6 +463,8 @@ void NeuronPlugin::activate() {
|
|||
qCCritical(inputplugins) << "NeuronPlugin: error connecting to " << _serverAddress.c_str() << ":" << _serverPort << ", error = " << BRGetLastErrorMessage();
|
||||
} else {
|
||||
qCDebug(inputplugins) << "NeuronPlugin: success connecting to " << _serverAddress.c_str() << ":" << _serverPort;
|
||||
|
||||
BRRegisterAutoSyncParmeter(_socketRef, Cmd_CombinationMode);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -474,6 +476,7 @@ void NeuronPlugin::deactivate() {
|
|||
}
|
||||
|
||||
if (_socketRef) {
|
||||
BRUnregisterAutoSyncParmeter(_socketRef, Cmd_CombinationMode);
|
||||
BRCloseSocket(_socketRef);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue