mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-18 07:42:46 +02:00
try different login for deciding when to update/clear simulatorID
This commit is contained in:
parent
4677324a87
commit
256a7f5198
1 changed files with 1 additions and 3 deletions
|
@ -199,10 +199,8 @@ bool EntityMotionState::shouldSendUpdate(uint32_t simulationFrame) {
|
|||
simulatorID = "";
|
||||
}
|
||||
|
||||
if (simulatorID != myNodeID) {
|
||||
if (!simulatorID.isEmpty() && simulatorID != myNodeID) {
|
||||
// some other Node is simulating this, so don't broadcast our computations.
|
||||
qDebug() << "EntityMotionState::shouldSendUpdate baseResult=" << baseResult << "but"
|
||||
<< simulatorID << "!=" << myNodeID;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue