mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
Fix for shared object reference tracking.
This commit is contained in:
parent
d4470c04d6
commit
f2bdacd5a8
1 changed files with 4 additions and 2 deletions
|
@ -1098,11 +1098,13 @@ void TestEndpoint::handleMessage(const QVariant& message, Bitstream& in) {
|
||||||
}
|
}
|
||||||
|
|
||||||
PacketRecord* TestEndpoint::maybeCreateSendRecord() const {
|
PacketRecord* TestEndpoint::maybeCreateSendRecord() const {
|
||||||
return new TestSendRecord(_lod, _data, _localState, _sequencer.getOutgoingPacketNumber());
|
return new TestSendRecord(_lod, (_mode == METAVOXEL_CLIENT_MODE) ? MetavoxelData() : _data,
|
||||||
|
_localState, _sequencer.getOutgoingPacketNumber());
|
||||||
}
|
}
|
||||||
|
|
||||||
PacketRecord* TestEndpoint::maybeCreateReceiveRecord() const {
|
PacketRecord* TestEndpoint::maybeCreateReceiveRecord() const {
|
||||||
return new TestReceiveRecord(getLastAcknowledgedSendRecord()->getLOD(), _data, _remoteState);
|
return new TestReceiveRecord(getLastAcknowledgedSendRecord()->getLOD(),
|
||||||
|
(_mode == METAVOXEL_SERVER_MODE) ? MetavoxelData() : _data, _remoteState);
|
||||||
}
|
}
|
||||||
|
|
||||||
void TestEndpoint::handleHighPriorityMessage(const QVariant& message) {
|
void TestEndpoint::handleHighPriorityMessage(const QVariant& message) {
|
||||||
|
|
Loading…
Reference in a new issue