Showing the changes to libraries/physics/src/EntityMotionState.cpp (1 of 1 file). Show all
Unified · Split
| @@ -527,6 +527,9 @@ void EntityMotionState::sendUpdate(OctreeEditPacketSender* packetSender, const Q · 526 unmodified lines | |||
| 527 | if (descendant->computePuffedQueryAACube()) { | 527 | if (descendant->computePuffedQueryAACube()) { |
| 528 | EntityItemProperties newQueryCubeProperties; | 528 | EntityItemProperties newQueryCubeProperties; |
| 529 | newQueryCubeProperties.setQueryAACube(descendant->getQueryAACube()); | 529 | newQueryCubeProperties.setQueryAACube(descendant->getQueryAACube()); |
| 530 | auto now = usecTimestampNow(); | ||
| 531 | entityDescendant->setLastEdited(now); | ||
| 532 | newQueryCubeProperties.setLastEdited(now); | ||
| 530 | entityPacketSender->queueEditEntityMessage(PacketType::EntityEdit, descendant->getID(), newQueryCubeProperties); | 533 | entityPacketSender->queueEditEntityMessage(PacketType::EntityEdit, descendant->getID(), newQueryCubeProperties); |
| 531 | entityDescendant->setLastBroadcast(usecTimestampNow()); | 534 | entityDescendant->setLastBroadcast(usecTimestampNow()); |
| 532 | } | 535 | } |