mirror of
https://github.com/overte-org/overte.git
synced 2025-07-24 00:43:49 +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();
|
qCCritical(inputplugins) << "NeuronPlugin: error connecting to " << _serverAddress.c_str() << ":" << _serverPort << ", error = " << BRGetLastErrorMessage();
|
||||||
} else {
|
} else {
|
||||||
qCDebug(inputplugins) << "NeuronPlugin: success connecting to " << _serverAddress.c_str() << ":" << _serverPort;
|
qCDebug(inputplugins) << "NeuronPlugin: success connecting to " << _serverAddress.c_str() << ":" << _serverPort;
|
||||||
|
|
||||||
|
BRRegisterAutoSyncParmeter(_socketRef, Cmd_CombinationMode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -474,6 +476,7 @@ void NeuronPlugin::deactivate() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_socketRef) {
|
if (_socketRef) {
|
||||||
|
BRUnregisterAutoSyncParmeter(_socketRef, Cmd_CombinationMode);
|
||||||
BRCloseSocket(_socketRef);
|
BRCloseSocket(_socketRef);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue