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:
Seth Alves 2015-04-25 06:56:19 -07:00
parent ac46f84291
commit 48ec0c8339
2 changed files with 1 additions and 2 deletions

View file

@ -681,7 +681,6 @@ void EntityTreeRenderer::renderElement(OctreeElement* element, RenderArgs* args)
if (entityItem->getGlowLevel() > 0.0f) {
glower = new Glower(entityItem->getGlowLevel());
}
entityItem->render(args);
args->_itemsRendered++;
if (glower) {

View file

@ -116,7 +116,7 @@ void EntityMotionState::setWorldTransform(const btTransform& worldTrans) {
if (_entity->getSimulatorID().isNull() && isMoving()) {
// object is moving and has no owner. attempt to claim simulation ownership.
// setShouldClaimSimulationOwnership(true);
setShouldClaimSimulationOwnership(true);
}
_outgoingPacketFlags = DIRTY_PHYSICS_FLAGS;