mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 16:14:35 +02:00
removing historic changes
This commit is contained in:
parent
79338f4316
commit
0636a2db06
2 changed files with 0 additions and 10 deletions
|
@ -37,14 +37,6 @@ QVariant Billboard3DOverlay::getProperty(const QString &property) {
|
||||||
return Planar3DOverlay::getProperty(property);
|
return Planar3DOverlay::getProperty(property);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Billboard3DOverlay::update(float duration) {
|
|
||||||
// Billboard's transform needs to constantly be adjusted if it faces the avatar
|
|
||||||
// if (isFacingAvatar()) {
|
|
||||||
notifyRenderTransformChange();
|
|
||||||
// }
|
|
||||||
Base3DOverlay::update(duration);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool Billboard3DOverlay::applyTransformTo(Transform& transform, bool force) {
|
bool Billboard3DOverlay::applyTransformTo(Transform& transform, bool force) {
|
||||||
bool transformChanged = false;
|
bool transformChanged = false;
|
||||||
if (force || usecTimestampNow() > _transformExpiry) {
|
if (force || usecTimestampNow() > _transformExpiry) {
|
||||||
|
|
|
@ -26,8 +26,6 @@ public:
|
||||||
void setProperties(const QVariantMap& properties) override;
|
void setProperties(const QVariantMap& properties) override;
|
||||||
QVariant getProperty(const QString& property) override;
|
QVariant getProperty(const QString& property) override;
|
||||||
|
|
||||||
void update(float deltatime) override;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual bool applyTransformTo(Transform& transform, bool force = false) override;
|
virtual bool applyTransformTo(Transform& transform, bool force = false) override;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue