diff options
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 90ee1d1..f59518b 100755 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -2211,8 +2211,16 @@ namespace OpenSim.Region.Framework.Scenes | |||
2211 | SceneObjectGroupsByFullID[copy.UUID] = copy; | 2211 | SceneObjectGroupsByFullID[copy.UUID] = copy; |
2212 | 2212 | ||
2213 | SceneObjectPart[] parts = copy.Parts; | 2213 | SceneObjectPart[] parts = copy.Parts; |
2214 | |||
2215 | m_numTotalPrim += parts.Length; | ||
2216 | |||
2214 | foreach (SceneObjectPart part in parts) | 2217 | foreach (SceneObjectPart part in parts) |
2215 | { | 2218 | { |
2219 | if (part.GetPrimType() == PrimType.SCULPT) | ||
2220 | m_numMesh++; | ||
2221 | else | ||
2222 | m_numPrim++; | ||
2223 | |||
2216 | lock (SceneObjectGroupsByFullPartID) | 2224 | lock (SceneObjectGroupsByFullPartID) |
2217 | SceneObjectGroupsByFullPartID[part.UUID] = copy; | 2225 | SceneObjectGroupsByFullPartID[part.UUID] = copy; |
2218 | lock (SceneObjectGroupsByLocalPartID) | 2226 | lock (SceneObjectGroupsByLocalPartID) |