mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +02:00
unmangle merge
This commit is contained in:
parent
9e5116bf4f
commit
0500c21e00
1 changed files with 5 additions and 2 deletions
|
@ -90,10 +90,13 @@ const QUrl& AvatarData::defaultFullAvatarModelUrl() {
|
|||
// There are a number of possible strategies for this set of tools through endRender, below.
|
||||
void AvatarData::nextAttitude(glm::vec3 position, glm::quat orientation) {
|
||||
avatarLock.lock();
|
||||
Transform trans = getTransform();
|
||||
bool success;
|
||||
Transform trans = getTransform(success);
|
||||
if (!success) {
|
||||
return;
|
||||
}
|
||||
trans.setTranslation(position);
|
||||
trans.setRotation(orientation);
|
||||
bool success;
|
||||
SpatiallyNestable::setTransform(trans, success);
|
||||
if (!success) {
|
||||
qDebug() << "Warning -- AvatarData::nextAttitude failed";
|
||||
|
|
Loading…
Reference in a new issue