diff options
author | UbitUmarov | 2012-06-21 09:40:51 +0100 |
---|---|---|
committer | UbitUmarov | 2012-06-21 09:40:51 +0100 |
commit | 909572ed8618f15c7603cbb8a91563d55dc42061 (patch) | |
tree | 4f40c41c65fa9af67fd0f32e3f61284f81533664 /OpenSim/Region/Framework/Scenes/SceneGraph.cs | |
parent | don't send a lot of avatar data when we are just changing position or rotati... (diff) | |
download | opensim-SC_OLD-909572ed8618f15c7603cbb8a91563d55dc42061.zip opensim-SC_OLD-909572ed8618f15c7603cbb8a91563d55dc42061.tar.gz opensim-SC_OLD-909572ed8618f15c7603cbb8a91563d55dc42061.tar.bz2 opensim-SC_OLD-909572ed8618f15c7603cbb8a91563d55dc42061.tar.xz |
fix SceneGraph Add/Remove PhysicalPrim counters
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index b7466be..a600b86 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -585,12 +585,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
585 | 585 | ||
586 | protected internal void AddPhysicalPrim(int number) | 586 | protected internal void AddPhysicalPrim(int number) |
587 | { | 587 | { |
588 | m_physicalPrim++; | 588 | m_physicalPrim += number; |
589 | } | 589 | } |
590 | 590 | ||
591 | protected internal void RemovePhysicalPrim(int number) | 591 | protected internal void RemovePhysicalPrim(int number) |
592 | { | 592 | { |
593 | m_physicalPrim--; | 593 | m_physicalPrim -= number; |
594 | } | 594 | } |
595 | 595 | ||
596 | protected internal void AddToScriptLPS(int number) | 596 | protected internal void AddToScriptLPS(int number) |