mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 22:02:58 +02:00
transmit sendAll packet in nodeActivated signal callback
(cherry picked from commit 9f1a8290148da12849935c916b2e0a59864cb49b)
This commit is contained in:
parent
c29bf51226
commit
0a162e62b0
3 changed files with 3 additions and 8 deletions
interface/src
|
@ -5940,6 +5940,9 @@ void Application::nodeActivated(SharedNodePointer node) {
|
|||
}
|
||||
getMyAvatar()->markIdentityDataChanged();
|
||||
getMyAvatar()->resetLastSent();
|
||||
|
||||
// transmit a "sendAll" packet to the AvatarMixer we just connected to.
|
||||
getMyAvatar()->sendAvatarDataPacket(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -3398,13 +3398,6 @@ void MyAvatar::setModelScale(float scale) {
|
|||
}
|
||||
}
|
||||
|
||||
void MyAvatar::setSessionUUID(const QUuid& sessionUUID) {
|
||||
Avatar::setSessionUUID(sessionUUID);
|
||||
|
||||
// transmit a "sendAll" packet to the AvatarMixer we just connected to.
|
||||
sendAvatarDataPacket(true);
|
||||
}
|
||||
|
||||
SpatialParentTree* MyAvatar::getParentTree() const {
|
||||
auto entityTreeRenderer = qApp->getEntities();
|
||||
EntityTreePointer entityTree = entityTreeRenderer ? entityTreeRenderer->getTree() : nullptr;
|
||||
|
|
|
@ -616,7 +616,6 @@ public slots:
|
|||
glm::quat getOrientationForAudio();
|
||||
|
||||
virtual void setModelScale(float scale) override;
|
||||
virtual void setSessionUUID(const QUuid& sessionUUID) override;
|
||||
|
||||
signals:
|
||||
void audioListenerModeChanged();
|
||||
|
|
Loading…
Reference in a new issue