mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 16:41:02 +02:00
forgot to add "break;"s
This commit is contained in:
parent
4d84e1fff1
commit
e3db60d1ef
3 changed files with 5 additions and 2 deletions
|
@ -147,10 +147,13 @@ void DatagramProcessor::processDatagrams() {
|
||||||
}
|
}
|
||||||
case PacketTypeVoxelEditNack:
|
case PacketTypeVoxelEditNack:
|
||||||
application->_voxelEditSender.processNackPacket(incomingPacket);
|
application->_voxelEditSender.processNackPacket(incomingPacket);
|
||||||
|
break;
|
||||||
case PacketTypeParticleEditNack:
|
case PacketTypeParticleEditNack:
|
||||||
application->_particleEditSender.processNackPacket(incomingPacket);
|
application->_particleEditSender.processNackPacket(incomingPacket);
|
||||||
|
break;
|
||||||
case PacketTypeModelEditNack:
|
case PacketTypeModelEditNack:
|
||||||
application->_modelEditSender.processNackPacket(incomingPacket);
|
application->_modelEditSender.processNackPacket(incomingPacket);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
nodeList->processNodeData(senderSockAddr, incomingPacket);
|
nodeList->processNodeData(senderSockAddr, incomingPacket);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -343,7 +343,7 @@ bool OctreeEditPacketSender::process() {
|
||||||
return PacketSender::process();
|
return PacketSender::process();
|
||||||
}
|
}
|
||||||
|
|
||||||
void OctreeEditPacketSender::parseNackPacket(const QByteArray& packet) {
|
void OctreeEditPacketSender::processNackPacket(const QByteArray& packet) {
|
||||||
// parse sending node from packet, retrieve packet history for that node
|
// parse sending node from packet, retrieve packet history for that node
|
||||||
QUuid sendingNodeUUID = uuidFromPacketHeader(packet);
|
QUuid sendingNodeUUID = uuidFromPacketHeader(packet);
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ public:
|
||||||
virtual void adjustEditPacketForClockSkew(unsigned char* codeColorBuffer, ssize_t length, int clockSkew) { };
|
virtual void adjustEditPacketForClockSkew(unsigned char* codeColorBuffer, ssize_t length, int clockSkew) { };
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void parseNackPacket(const QByteArray& packet);
|
void processNackPacket(const QByteArray& packet);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool _shouldSend;
|
bool _shouldSend;
|
||||||
|
|
Loading…
Reference in a new issue