mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
* refactor: cleanup AllocateLocalPrimId() a bit more
This commit is contained in:
@@ -166,10 +166,6 @@ namespace OpenSim.Region.Environment.Modules.ContentManagement
|
||||
parts.Add(part.UUID, part);
|
||||
}
|
||||
|
||||
// make new localids
|
||||
foreach (SceneObjectPart part in m_Entity.Children.Values)
|
||||
part.LocalId = m_Entity.Scene.AllocateLocalPrimId();
|
||||
|
||||
//finalize
|
||||
m_Entity.RootPart.PhysActor = null;
|
||||
m_Entity.Children = parts;
|
||||
|
||||
Reference in New Issue
Block a user