Added mesh bytes received to viewer stats.
parent
c33bec0177
commit
91c1545f90
|
|
@ -64,6 +64,7 @@
|
|||
#include "llworld.h"
|
||||
#include "llfeaturemanager.h"
|
||||
#include "llviewernetwork.h"
|
||||
#include "llmeshrepository.h" //for LLMeshRepository::sBytesReceived
|
||||
|
||||
|
||||
class StatAttributes
|
||||
|
|
@ -799,6 +800,7 @@ void send_stats()
|
|||
download["world_kbytes"] = gTotalWorldBytes / 1024.0;
|
||||
download["object_kbytes"] = gTotalObjectBytes / 1024.0;
|
||||
download["texture_kbytes"] = gTotalTextureBytes / 1024.0;
|
||||
download["mesh_kbytes"] = LLMeshRepository::sBytesReceived/1024.0;
|
||||
|
||||
LLSD &in = body["stats"]["net"]["in"];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue