forgot to add "break;"s

This commit is contained in:
wangyix 2014-06-16 16:42:04 -07:00
parent 4d84e1fff1
commit e3db60d1ef
3 changed files with 5 additions and 2 deletions

View file

@ -147,10 +147,13 @@ void DatagramProcessor::processDatagrams() {
}
case PacketTypeVoxelEditNack:
application->_voxelEditSender.processNackPacket(incomingPacket);
break;
case PacketTypeParticleEditNack:
application->_particleEditSender.processNackPacket(incomingPacket);
break;
case PacketTypeModelEditNack:
application->_modelEditSender.processNackPacket(incomingPacket);
break;
default:
nodeList->processNodeData(senderSockAddr, incomingPacket);
break;

View file

@ -343,7 +343,7 @@ bool OctreeEditPacketSender::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
QUuid sendingNodeUUID = uuidFromPacketHeader(packet);

View file

@ -93,7 +93,7 @@ public:
virtual void adjustEditPacketForClockSkew(unsigned char* codeColorBuffer, ssize_t length, int clockSkew) { };
public:
void parseNackPacket(const QByteArray& packet);
void processNackPacket(const QByteArray& packet);
protected:
bool _shouldSend;