History

flash yellow box when transmitting an edit packet

Seth Alves committed 11 years ago

Commit 5ac85581 parent cc5f2ee6 files · +21 −11Browse files

Showing the changes to libraries/physics/src/EntityMotionState.cpp (1 of 6 files). Show all

Unified · Split

libraries/physics/src/EntityMotionState.cpp+1−0
@@ -429,6 +429,7 @@ void EntityMotionState::sendUpdate(OctreeEditPacketSender* packetSender, uint32_ · 428 unmodified lines
429429 #endif
430430
431431 entityPacketSender->queueEditEntityMessage(PacketTypeEntityAddOrEdit, id, properties);
432+ _entity->setLastBroadcast(usecTimestampNow());
432433 } else {
433434 #ifdef WANT_DEBUG
434435 qCDebug(physics) << "EntityMotionState::sendUpdate()... NOT sending update as requested.";

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