mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-24 11:54:09 +02:00
added comment
This commit is contained in:
parent
fa485d21b7
commit
c01d2d657c
1 changed files with 1 additions and 0 deletions
|
@ -208,6 +208,7 @@ void EntityMotionState::sendUpdate(OctreeEditPacketSender* packetSender, uint32_
|
||||||
if (_numNonMovingUpdates <= 1) {
|
if (_numNonMovingUpdates <= 1) {
|
||||||
// we only update lastEdited when we're sending new physics data
|
// we only update lastEdited when we're sending new physics data
|
||||||
// (i.e. NOT when we just simulate the positions forward, nore when we resend non-moving data)
|
// (i.e. NOT when we just simulate the positions forward, nore when we resend non-moving data)
|
||||||
|
// NOTE: Andrew & Brad to discuss. Let's make sure we're using lastEdited, lastSimulated, and lastUpdated correctly
|
||||||
quint64 lastSimulated = _entity->getLastSimulated();
|
quint64 lastSimulated = _entity->getLastSimulated();
|
||||||
_entity->setLastEdited(lastSimulated);
|
_entity->setLastEdited(lastSimulated);
|
||||||
properties.setLastEdited(lastSimulated);
|
properties.setLastEdited(lastSimulated);
|
||||||
|
|
Loading…
Reference in a new issue