mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-08 10:17:57 +02:00
merge upstream/master into andrew/bispinor
Conflicts: libraries/physics/src/EntityMotionState.cpp
This commit is contained in:
commit
840acecbe6
1 changed files with 3 additions and 0 deletions
|
@ -154,6 +154,9 @@ float EntityMotionState::computeMass(const ShapeInfo& shapeInfo) const {
|
||||||
}
|
}
|
||||||
|
|
||||||
void EntityMotionState::sendUpdate(OctreeEditPacketSender* packetSender, uint32_t frame) {
|
void EntityMotionState::sendUpdate(OctreeEditPacketSender* packetSender, uint32_t frame) {
|
||||||
|
if (!_entity->isKnownID()) {
|
||||||
|
return; // never update entities that are unknown
|
||||||
|
}
|
||||||
if (_outgoingPacketFlags) {
|
if (_outgoingPacketFlags) {
|
||||||
EntityItemProperties properties = _entity->getProperties();
|
EntityItemProperties properties = _entity->getProperties();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue