mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
Merge pull request #14173 from sethalves/fix-linux-build
fix build on clang 7
This commit is contained in:
commit
9750cc2416
2 changed files with 1 additions and 2 deletions
|
@ -497,7 +497,7 @@ void AudioMixerClientData::processStreamPacket(ReceivedMessage& message, Concurr
|
||||||
|
|
||||||
if (newStream) {
|
if (newStream) {
|
||||||
// whenever a stream is added, push it to the concurrent vector of streams added this frame
|
// whenever a stream is added, push it to the concurrent vector of streams added this frame
|
||||||
addedStreams.emplace_back(getNodeID(), getNodeLocalID(), matchingStream->getStreamIdentifier(), matchingStream.get());
|
addedStreams.push_back(AddedStream(getNodeID(), getNodeLocalID(), matchingStream->getStreamIdentifier(), matchingStream.get()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -173,7 +173,6 @@ AvatarTransit::Status AvatarTransit::updatePosition(float deltaTime) {
|
||||||
Status status = Status::IDLE;
|
Status status = Status::IDLE;
|
||||||
if (_isTransiting) {
|
if (_isTransiting) {
|
||||||
float nextTime = _currentTime + deltaTime;
|
float nextTime = _currentTime + deltaTime;
|
||||||
glm::vec3 newPosition;
|
|
||||||
if (nextTime >= _totalTime) {
|
if (nextTime >= _totalTime) {
|
||||||
_currentPosition = _endPosition;
|
_currentPosition = _endPosition;
|
||||||
_isTransiting = false;
|
_isTransiting = false;
|
||||||
|
|
Loading…
Reference in a new issue