History

Merge branch 'master' of git://github.com/highfidelity/hifi into fadeshape

Olivier Prat committed 9 years ago

Commit 236270d2 parents ca6ac4a 758ae9811 files · +192 −35Browse files

Showing the changes to interface/src/Application.cpp (1 of 11 files). Show all

Unified · Split

interface/src/Application.cpp+10−0
@@ -69,6 +69,7 @@ · 68 unmodified lines
6969 #include <EntityScriptClient.h>
7070 #include <EntityScriptServerLogClient.h>
7171 #include <EntityScriptingInterface.h>
72+#include <HoverOverlayInterface.h>
7273 #include <ErrorDialog.h>
7374 #include <FileScriptingInterface.h>
7475 #include <Finally.h>
@@ -588,6 +589,7 @@ bool setupEssentials(int& argc, char** argv, bool runningMarkerExisted) { · 513 unmodified lines
588589 DependencyManager::set<Snapshot>();
589590 DependencyManager::set<CloseEventSender>();
590591 DependencyManager::set<ResourceManager>();
592+ DependencyManager::set<HoverOverlayInterface>();
591593
592594 return previousSessionCrashed;
593595 }
@@ -1514,6 +1516,14 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer, bo · 920 unmodified lines
15141516 properties["atp_mapping_requests"] = atpMappingRequests;
15151517
15161518 properties["throttled"] = _displayPlugin ? _displayPlugin->isThrottled() : false;
1519+
1520+ QJsonObject bytesDownloaded;
1521+ bytesDownloaded["atp"] = statTracker->getStat(STAT_ATP_RESOURCE_TOTAL_BYTES).toInt();
1522+ bytesDownloaded["http"] = statTracker->getStat(STAT_HTTP_RESOURCE_TOTAL_BYTES).toInt();
1523+ bytesDownloaded["file"] = statTracker->getStat(STAT_FILE_RESOURCE_TOTAL_BYTES).toInt();
1524+ bytesDownloaded["total"] = bytesDownloaded["atp"].toInt() + bytesDownloaded["http"].toInt()
1525+ + bytesDownloaded["file"].toInt();
1526+ properties["bytesDownloaded"] = bytesDownloaded;
15171527
15181528 auto myAvatar = getMyAvatar();
15191529 glm::vec3 avatarPosition = myAvatar->getPosition();

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t