seek back after track of octree packet

This commit is contained in:
Stephen Birarda 2015-07-16 13:02:20 -07:00
parent 60ae02e4e9
commit 05dd49a4c5
2 changed files with 4 additions and 1 deletions

View file

@ -90,6 +90,9 @@ void OctreePacketProcessor::processPacket(QSharedPointer<NLPacket> packet, Share
app->trackIncomingOctreePacket(*packet, sendingNode, wasStatsPacket);
// seek back to beginning of packet after tracking
packet->seek(0);
switch(packetType) {
case PacketType::EntityErase: {
if (DependencyManager::get<SceneScriptingInterface>()->shouldRenderEntities()) {