mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
Merge branch 'nova' of github.com:AndrewMeadows/hifi into dice-on-table-1
This commit is contained in:
commit
c9f97b9d42
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ public:
|
|||
bool shouldSendUpdate(uint32_t simulationFrame);
|
||||
void sendUpdate(OctreeEditPacketSender* packetSender, uint32_t step);
|
||||
|
||||
void setShouldClaimSimulationOwnership(bool value) { }
|
||||
void setShouldClaimSimulationOwnership(bool value) { _shouldClaimSimulationOwnership = value; }
|
||||
bool getShouldClaimSimulationOwnership() { return false; }
|
||||
|
||||
virtual uint32_t getIncomingDirtyFlags() const;
|
||||
|
|
|
@ -121,7 +121,7 @@ void ObjectMotionState::handleEasyChanges(uint32_t flags) {
|
|||
}
|
||||
worldTrans.setOrigin(glmToBullet(getObjectPosition()));
|
||||
_body->setWorldTransform(worldTrans);
|
||||
} else {
|
||||
} else if (flags & EntityItem::DIRTY_ROTATION) {
|
||||
btTransform worldTrans = _body->getWorldTransform();
|
||||
worldTrans.setRotation(glmToBullet(getObjectRotation()));
|
||||
_body->setWorldTransform(worldTrans);
|
||||
|
|
Loading…
Reference in a new issue