diff options
author | Justin Clark-Casey (justincc) | 2012-04-07 00:33:02 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-04-07 00:33:02 +0100 |
commit | 7d8bb33c5b2420d4e744269f67a25dd2b9746a35 (patch) | |
tree | 53e2c0d0258e81c4e87ae78521e85d98d115becc /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | refactor: Eliminate unnecessary SOP.m_physActor (diff) | |
download | opensim-SC-7d8bb33c5b2420d4e744269f67a25dd2b9746a35.zip opensim-SC-7d8bb33c5b2420d4e744269f67a25dd2b9746a35.tar.gz opensim-SC-7d8bb33c5b2420d4e744269f67a25dd2b9746a35.tar.bz2 opensim-SC-7d8bb33c5b2420d4e744269f67a25dd2b9746a35.tar.xz |
Store FromItemID for attachments once on SOG instead of on every SOP and only ever using the root part entry.
This eliminates some pointless memory use.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index d8cac66..e488fe1 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2566,7 +2566,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2566 | SceneObjectGroup grp = sceneObject; | 2566 | SceneObjectGroup grp = sceneObject; |
2567 | 2567 | ||
2568 | m_log.DebugFormat( | 2568 | m_log.DebugFormat( |
2569 | "[ATTACHMENT]: Received attachment {0}, inworld asset id {1}", grp.GetFromItemID(), grp.UUID); | 2569 | "[ATTACHMENT]: Received attachment {0}, inworld asset id {1}", grp.FromItemID, grp.UUID); |
2570 | m_log.DebugFormat( | 2570 | m_log.DebugFormat( |
2571 | "[ATTACHMENT]: Attach to avatar {0} at position {1}", sp.UUID, grp.AbsolutePosition); | 2571 | "[ATTACHMENT]: Attach to avatar {0} at position {1}", sp.UUID, grp.AbsolutePosition); |
2572 | 2572 | ||