mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Force regioncrossed prims to get a new LocalID. Reset parent local ID to new
avatar local ID when corssing.
This commit is contained in:
@@ -1440,7 +1440,12 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
if (ent is SceneObjectGroup)
|
||||
{
|
||||
SceneObjectGroup obj = (SceneObjectGroup)ent;
|
||||
sceneObjects.Add(obj.LocalId, obj);
|
||||
// Nasty one. Can't unlink anything in the sim
|
||||
// If a duplicate local ID sneaks in
|
||||
// So, check it here!
|
||||
//
|
||||
if (!sceneObjects.ContainsKey(obj.LocalId))
|
||||
sceneObjects.Add(obj.LocalId, obj);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user