diff options
author | lbsa71 | 2009-07-24 06:59:27 +0000 |
---|---|---|
committer | lbsa71 | 2009-07-24 06:59:27 +0000 |
commit | 169a353cca000f2e57b3895d6110c18bd5757137 (patch) | |
tree | a83bceebe2c28a340a643f77de8bff702918180c /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | * Updates RESTInterregionComms and LocalInterregionComms to the new region mo... (diff) | |
download | opensim-SC-169a353cca000f2e57b3895d6110c18bd5757137.zip opensim-SC-169a353cca000f2e57b3895d6110c18bd5757137.tar.gz opensim-SC-169a353cca000f2e57b3895d6110c18bd5757137.tar.bz2 opensim-SC-169a353cca000f2e57b3895d6110c18bd5757137.tar.xz |
* minor ccc
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 220558b..0f7bd00 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -501,9 +501,15 @@ namespace OpenSim.Region.Framework.Scenes | |||
501 | foreach (SceneObjectPart part in m_parts.Values) | 501 | foreach (SceneObjectPart part in m_parts.Values) |
502 | { | 502 | { |
503 | if (Object.ReferenceEquals(part, m_rootPart)) | 503 | if (Object.ReferenceEquals(part, m_rootPart)) |
504 | { | ||
504 | continue; | 505 | continue; |
505 | if (part.LocalId==0) | 506 | } |
507 | |||
508 | if (part.LocalId == 0) | ||
509 | { | ||
506 | part.LocalId = m_scene.AllocateLocalId(); | 510 | part.LocalId = m_scene.AllocateLocalId(); |
511 | } | ||
512 | |||
507 | part.ParentID = m_rootPart.LocalId; | 513 | part.ParentID = m_rootPart.LocalId; |
508 | //m_log.DebugFormat("[SCENE]: Given local id {0} to part {1}, linknum {2}, parent {3} {4}", part.LocalId, part.UUID, part.LinkNum, part.ParentID, part.ParentUUID); | 514 | //m_log.DebugFormat("[SCENE]: Given local id {0} to part {1}, linknum {2}, parent {3} {4}", part.LocalId, part.UUID, part.LinkNum, part.ParentID, part.ParentUUID); |
509 | } | 515 | } |