History

move creatorTokenID management into Particle static members

Brad Hefta-Gaub committed 12 years ago

Commit b4b37201 parent bc2830d5 files · +110 −34Browse files

Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all

Unified · Split

interface/src/Application.cpp+5−1
@@ -4178,8 +4178,12 @@ void Application::processDatagrams() { · 4177 unmodified lines
41784178 break;
41794179
41804180 case PACKET_TYPE_PARTICLE_ADD_RESPONSE:
4181− // look up our ParticleEditHanders....
4181+
4182+ // This will make sure our local ParticleEditHandle are handles correctly
41824183 ParticleEditHandle::handleAddResponse(_incomingPacket, bytesReceived);
4184+
4185+ // this will keep creatorTokenIDs to IDs mapped correctly
4186+ Particle::handleAddParticleResponse(_incomingPacket, bytesReceived);
41834187 break;
41844188
41854189 case PACKET_TYPE_PARTICLE_DATA:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t