diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObject.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObject.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObject.cs b/OpenSim/Region/Environment/Scenes/SceneObject.cs index 95db271..c925584 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObject.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObject.cs | |||
@@ -170,8 +170,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
170 | dupe.children.Add(dupe.rootPrimitive); | 170 | dupe.children.Add(dupe.rootPrimitive); |
171 | dupe.rootPrimitive.Pos = this.Pos; | 171 | dupe.rootPrimitive.Pos = this.Pos; |
172 | dupe.Rotation = this.Rotation; | 172 | dupe.Rotation = this.Rotation; |
173 | LLUUID rootu = dupe.rootUUID; | 173 | dupe.LocalId = m_world.PrimIDAllocate(); |
174 | uint rooti = dupe.rootLocalID; | ||
175 | 174 | ||
176 | dupe.registerEvents(); | 175 | dupe.registerEvents(); |
177 | return dupe; | 176 | return dupe; |