mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 14:58:03 +02:00
formatting, re-enable code that causes an interface to attempt to claim a moving object with no current simulation-owner
This commit is contained in:
parent
ac46f84291
commit
48ec0c8339
2 changed files with 1 additions and 2 deletions
|
@ -681,7 +681,6 @@ void EntityTreeRenderer::renderElement(OctreeElement* element, RenderArgs* args)
|
||||||
if (entityItem->getGlowLevel() > 0.0f) {
|
if (entityItem->getGlowLevel() > 0.0f) {
|
||||||
glower = new Glower(entityItem->getGlowLevel());
|
glower = new Glower(entityItem->getGlowLevel());
|
||||||
}
|
}
|
||||||
|
|
||||||
entityItem->render(args);
|
entityItem->render(args);
|
||||||
args->_itemsRendered++;
|
args->_itemsRendered++;
|
||||||
if (glower) {
|
if (glower) {
|
||||||
|
|
|
@ -116,7 +116,7 @@ void EntityMotionState::setWorldTransform(const btTransform& worldTrans) {
|
||||||
|
|
||||||
if (_entity->getSimulatorID().isNull() && isMoving()) {
|
if (_entity->getSimulatorID().isNull() && isMoving()) {
|
||||||
// object is moving and has no owner. attempt to claim simulation ownership.
|
// object is moving and has no owner. attempt to claim simulation ownership.
|
||||||
// setShouldClaimSimulationOwnership(true);
|
setShouldClaimSimulationOwnership(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
_outgoingPacketFlags = DIRTY_PHYSICS_FLAGS;
|
_outgoingPacketFlags = DIRTY_PHYSICS_FLAGS;
|
||||||
|
|
Loading…
Reference in a new issue