mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
back out off-brand change
This commit is contained in:
parent
9145a8a753
commit
86b551c177
1 changed files with 4 additions and 2 deletions
|
@ -89,8 +89,6 @@ void AvatarActionHold::prepareForPhysicsSimulation() {
|
|||
// code here for future reference.
|
||||
// _palmRotationFromRigidBody = avatarRotationInverse * palmRotation;
|
||||
});
|
||||
|
||||
activateBody();
|
||||
}
|
||||
|
||||
std::shared_ptr<Avatar> AvatarActionHold::getTarget(glm::quat& rotation, glm::vec3& position) {
|
||||
|
@ -199,6 +197,7 @@ void AvatarActionHold::updateActionWorker(float deltaTimeStep) {
|
|||
if (_kinematic) {
|
||||
doKinematicUpdate(deltaTimeStep);
|
||||
} else {
|
||||
activateBody();
|
||||
forceBodyNonStatic();
|
||||
ObjectActionSpring::updateActionWorker(deltaTimeStep);
|
||||
}
|
||||
|
@ -248,6 +247,7 @@ void AvatarActionHold::doKinematicUpdate(float deltaTimeStep) {
|
|||
_previousSet = true;
|
||||
});
|
||||
|
||||
activateBody();
|
||||
forceBodyNonStatic();
|
||||
}
|
||||
|
||||
|
@ -344,6 +344,7 @@ bool AvatarActionHold::updateArguments(QVariantMap arguments) {
|
|||
ownerEntity->setActionDataNeedsTransmit(true);
|
||||
}
|
||||
});
|
||||
activateBody();
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -430,5 +431,6 @@ void AvatarActionHold::deserialize(QByteArray serializedArguments) {
|
|||
_active = true;
|
||||
});
|
||||
|
||||
activateBody();
|
||||
forceBodyNonStatic();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue