mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 17:10:45 +02:00
restore context around lock
This commit is contained in:
parent
b3be7f0f3e
commit
4161775673
1 changed files with 4 additions and 2 deletions
|
@ -929,9 +929,11 @@ void Rig::updateAnimations(float deltaTime, glm::mat4 rootTransform) {
|
|||
buildAbsoluteRigPoses(_internalPoseSet._relativePoses, _internalPoseSet._absolutePoses);
|
||||
|
||||
// copy internal poses to external poses
|
||||
{
|
||||
QWriteLocker writeLock(&_externalPoseSetLock);
|
||||
_externalPoseSet = _internalPoseSet;
|
||||
}
|
||||
}
|
||||
|
||||
void Rig::inverseKinematics(int endIndex, glm::vec3 targetPosition, const glm::quat& targetRotation, float priority,
|
||||
const QVector<int>& freeLineage, glm::mat4 rootTransform) {
|
||||
|
|
Loading…
Reference in a new issue