mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 19:52:26 +02:00
Merge branch 'master' of github.com:highfidelity/hifi into commandLineParametersForAutotester
This commit is contained in:
commit
3edfdae6b2
8 changed files with 10 additions and 4 deletions
|
@ -63,7 +63,7 @@ struct AssetMeta {
|
||||||
AssetMeta() {
|
AssetMeta() {
|
||||||
}
|
}
|
||||||
|
|
||||||
BakeVersion bakeVersion;
|
BakeVersion bakeVersion { INITIAL_BAKE_VERSION };
|
||||||
bool failedLastBake { false };
|
bool failedLastBake { false };
|
||||||
QString lastBakeErrors;
|
QString lastBakeErrors;
|
||||||
};
|
};
|
||||||
|
|
|
@ -58,9 +58,8 @@ void AddressBarDialog::loadHome() {
|
||||||
qDebug() << "Called LoadHome";
|
qDebug() << "Called LoadHome";
|
||||||
auto locationBookmarks = DependencyManager::get<LocationBookmarks>();
|
auto locationBookmarks = DependencyManager::get<LocationBookmarks>();
|
||||||
QString homeLocation = locationBookmarks->addressForBookmark(LocationBookmarks::HOME_BOOKMARK);
|
QString homeLocation = locationBookmarks->addressForBookmark(LocationBookmarks::HOME_BOOKMARK);
|
||||||
const QString DEFAULT_HOME_LOCATION = "localhost";
|
|
||||||
if (homeLocation == "") {
|
if (homeLocation == "") {
|
||||||
homeLocation = DEFAULT_HOME_LOCATION;
|
homeLocation = DEFAULT_HIFI_ADDRESS;
|
||||||
}
|
}
|
||||||
DependencyManager::get<AddressManager>()->handleLookupString(homeLocation);
|
DependencyManager::get<AddressManager>()->handleLookupString(homeLocation);
|
||||||
}
|
}
|
||||||
|
|
|
@ -150,6 +150,7 @@ int InboundAudioStream::parseData(ReceivedMessage& message) {
|
||||||
|
|
||||||
// fall through to OnTime case
|
// fall through to OnTime case
|
||||||
}
|
}
|
||||||
|
// FALLTHRU
|
||||||
case SequenceNumberStats::OnTime: {
|
case SequenceNumberStats::OnTime: {
|
||||||
// Packet is on time; parse its data to the ringbuffer
|
// Packet is on time; parse its data to the ringbuffer
|
||||||
if (message.getType() == PacketType::SilentAudioFrame
|
if (message.getType() == PacketType::SilentAudioFrame
|
||||||
|
|
|
@ -1402,6 +1402,7 @@ int EntityTree::processEditPacketData(ReceivedMessage& message, const unsigned c
|
||||||
|
|
||||||
case PacketType::EntityAdd:
|
case PacketType::EntityAdd:
|
||||||
isAdd = true; // fall through to next case
|
isAdd = true; // fall through to next case
|
||||||
|
// FALLTHRU
|
||||||
case PacketType::EntityPhysics:
|
case PacketType::EntityPhysics:
|
||||||
case PacketType::EntityEdit: {
|
case PacketType::EntityEdit: {
|
||||||
quint64 startDecode = 0, endDecode = 0;
|
quint64 startDecode = 0, endDecode = 0;
|
||||||
|
|
|
@ -142,7 +142,6 @@ void FBXWriter::encodeFBXProperty(QDataStream& out, const QVariant& prop) {
|
||||||
out << prop.toInt();
|
out << prop.toInt();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
encodeNode(out, FBXNode());
|
|
||||||
case QMetaType::Float:
|
case QMetaType::Float:
|
||||||
out.device()->write("F", 1);
|
out.device()->write("F", 1);
|
||||||
out << prop.toFloat();
|
out << prop.toFloat();
|
||||||
|
|
|
@ -302,6 +302,7 @@ bool LimitedNodeList::packetSourceAndHashMatchAndTrackBandwidth(const udt::Packe
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
NLPacket::LocalID sourceLocalID = Node::NULL_LOCAL_ID;
|
NLPacket::LocalID sourceLocalID = Node::NULL_LOCAL_ID;
|
||||||
|
|
||||||
// check if we were passed a sourceNode hint or if we need to look it up
|
// check if we were passed a sourceNode hint or if we need to look it up
|
||||||
if (!sourceNode) {
|
if (!sourceNode) {
|
||||||
// figure out which node this is from
|
// figure out which node this is from
|
||||||
|
@ -314,6 +315,7 @@ bool LimitedNodeList::packetSourceAndHashMatchAndTrackBandwidth(const udt::Packe
|
||||||
QUuid sourceID = sourceNode ? sourceNode->getUUID() : QUuid();
|
QUuid sourceID = sourceNode ? sourceNode->getUUID() : QUuid();
|
||||||
|
|
||||||
if (!sourceNode &&
|
if (!sourceNode &&
|
||||||
|
!isDomainServer() &&
|
||||||
sourceLocalID == getDomainLocalID() &&
|
sourceLocalID == getDomainLocalID() &&
|
||||||
packet.getSenderSockAddr() == getDomainSockAddr() &&
|
packet.getSenderSockAddr() == getDomainSockAddr() &&
|
||||||
PacketTypeEnum::getDomainSourcedPackets().contains(headerType)) {
|
PacketTypeEnum::getDomainSourcedPackets().contains(headerType)) {
|
||||||
|
@ -608,6 +610,7 @@ bool LimitedNodeList::killNodeWithUUID(const QUuid& nodeUUID, ConnectionID newCo
|
||||||
|
|
||||||
{
|
{
|
||||||
QWriteLocker writeLocker(&_nodeMutex);
|
QWriteLocker writeLocker(&_nodeMutex);
|
||||||
|
_localIDMap.unsafe_erase(matchingNode->getLocalID());
|
||||||
_nodeHash.unsafe_erase(it);
|
_nodeHash.unsafe_erase(it);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -750,6 +750,7 @@ bool Resource::handleFailedRequest(ResourceRequest::Result result) {
|
||||||
qCDebug(networking) << "Timed out loading" << _url << "received" << _bytesReceived << "total" << _bytesTotal;
|
qCDebug(networking) << "Timed out loading" << _url << "received" << _bytesReceived << "total" << _bytesTotal;
|
||||||
// Fall through to other cases
|
// Fall through to other cases
|
||||||
}
|
}
|
||||||
|
// FALLTHRU
|
||||||
case ResourceRequest::Result::ServerUnavailable: {
|
case ResourceRequest::Result::ServerUnavailable: {
|
||||||
_attempts++;
|
_attempts++;
|
||||||
_attemptsRemaining--;
|
_attemptsRemaining--;
|
||||||
|
@ -768,6 +769,7 @@ bool Resource::handleFailedRequest(ResourceRequest::Result result) {
|
||||||
}
|
}
|
||||||
// fall through to final failure
|
// fall through to final failure
|
||||||
}
|
}
|
||||||
|
// FALLTHRU
|
||||||
default: {
|
default: {
|
||||||
_attemptsRemaining = 0;
|
_attemptsRemaining = 0;
|
||||||
qCDebug(networking) << "Error loading " << _url << "attempt:" << _attempts << "attemptsRemaining:" << _attemptsRemaining;
|
qCDebug(networking) << "Error loading " << _url << "attempt:" << _attempts << "attemptsRemaining:" << _attemptsRemaining;
|
||||||
|
|
|
@ -60,6 +60,7 @@ bool gunzip(QByteArray source, QByteArray &destination) {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
case Z_NEED_DICT:
|
case Z_NEED_DICT:
|
||||||
status = Z_DATA_ERROR;
|
status = Z_DATA_ERROR;
|
||||||
|
// FALLTHRU
|
||||||
case Z_DATA_ERROR:
|
case Z_DATA_ERROR:
|
||||||
case Z_MEM_ERROR:
|
case Z_MEM_ERROR:
|
||||||
case Z_STREAM_ERROR:
|
case Z_STREAM_ERROR:
|
||||||
|
|
Loading…
Reference in a new issue