mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 13:49:23 +02:00
Initial fix for detaching tablet UI
This commit is contained in:
parent
17c54a5fae
commit
b55c558f96
1 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,9 @@ Web3DOverlay::~Web3DOverlay() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Web3DOverlay::update(float deltatime) {
|
void Web3DOverlay::update(float deltatime) {
|
||||||
|
// FIXME: Transforms cause tablet overlay to detach from tablet entity.
|
||||||
|
// Perhaps rather than deleting the following code it should be run only if isFacingAvatar() is true?
|
||||||
|
/*
|
||||||
if (usecTimestampNow() > _transformExpiry) {
|
if (usecTimestampNow() > _transformExpiry) {
|
||||||
Transform transform = getTransform();
|
Transform transform = getTransform();
|
||||||
applyTransformTo(transform);
|
applyTransformTo(transform);
|
||||||
|
|
Loading…
Reference in a new issue