mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 19:29:47 +02:00
remove unneeded line
This commit is contained in:
parent
ca86ce59c2
commit
3f0a95d8db
1 changed files with 0 additions and 1 deletions
|
@ -102,7 +102,6 @@ void EntityMotionState::updateServerPhysicsVariables() {
|
||||||
void EntityMotionState::handleDeactivation() {
|
void EntityMotionState::handleDeactivation() {
|
||||||
// copy _server data to entity
|
// copy _server data to entity
|
||||||
if (_serverVariablesSet) {
|
if (_serverVariablesSet) {
|
||||||
bool success;
|
|
||||||
Transform localTransform = _entity->getLocalTransform();
|
Transform localTransform = _entity->getLocalTransform();
|
||||||
localTransform.setTranslation(_serverPosition);
|
localTransform.setTranslation(_serverPosition);
|
||||||
localTransform.setRotation(_serverRotation);
|
localTransform.setRotation(_serverRotation);
|
||||||
|
|
Loading…
Reference in a new issue