mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 16:13:28 +02:00
Merge branch 'tablet-ui' of github.com:highfidelity/hifi into tablet-ui-close-tablet-upon-goto
This commit is contained in:
commit
19cf84dd5d
1 changed files with 5 additions and 0 deletions
|
@ -235,6 +235,11 @@ void AvatarActionHold::doKinematicUpdate(float deltaTimeStep) {
|
|||
qDebug() << "AvatarActionHold::doKinematicUpdate -- no owning entity";
|
||||
return;
|
||||
}
|
||||
if (ownerEntity->getParentID() != QUuid()) {
|
||||
// if the held entity has been given a parent, stop acting on it.
|
||||
return;
|
||||
}
|
||||
|
||||
void* physicsInfo = ownerEntity->getPhysicsInfo();
|
||||
if (!physicsInfo) {
|
||||
qDebug() << "AvatarActionHold::doKinematicUpdate -- no owning physics info";
|
||||
|
|
Loading…
Reference in a new issue