fix total objects(prims) count on stats, it was not counting meshes..; avoid spurius count increment on unlink

This commit is contained in:
UbitUmarov
2023-05-05 14:53:57 +01:00
parent 864871f490
commit 177fb75317
2 changed files with 31 additions and 34 deletions

View File

@@ -374,7 +374,7 @@ namespace OpenSim.Region.Framework.Scenes
newvalues[(int)StatsIndex.AgentUpdates] = m_agentUpdates * updateTimeFactor;
newvalues[(int)StatsIndex.Agents] = SG.GetRootAgentCount();
newvalues[(int)StatsIndex.ChildAgents] = SG.GetChildAgentCount();
newvalues[(int)StatsIndex.TotalPrim] = SG.GetTotalPrimObjectsCount();
newvalues[(int)StatsIndex.TotalPrim] = SG.GetTotalObjectsCount();
newvalues[(int)StatsIndex.ActivePrim] = SG.GetActiveObjectsCount();
newvalues[(int)StatsIndex.FrameMS] = totalFrameTime;
newvalues[(int)StatsIndex.NetMS] = (float)Math.Round(m_netMS * perframefactor, 3);