diff options
Old group is now deleted from datastore when you link groups/prims, so that the new group can be stored correctly.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 03ad8c5..2151ded 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -460,6 +460,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
460 | 460 | ||
461 | m_scene.EventManager.OnBackup -= objectGroup.ProcessBackup; | 461 | m_scene.EventManager.OnBackup -= objectGroup.ProcessBackup; |
462 | m_scene.DeleteEntity(objectGroup.UUID); | 462 | m_scene.DeleteEntity(objectGroup.UUID); |
463 | |||
463 | objectGroup.DeleteParts(); | 464 | objectGroup.DeleteParts(); |
464 | this.ScheduleGroupForFullUpdate(); | 465 | this.ScheduleGroupForFullUpdate(); |
465 | } | 466 | } |
@@ -741,9 +742,6 @@ namespace OpenSim.Region.Environment.Scenes | |||
741 | } | 742 | } |
742 | } | 743 | } |
743 | this.AbsolutePosition = newPos; | 744 | this.AbsolutePosition = newPos; |
744 | pos.X = newPos.X; | ||
745 | pos.Y = newPos.Y; | ||
746 | pos.Z = newPos.Z; | ||
747 | this.ScheduleGroupForTerseUpdate(); | 745 | this.ScheduleGroupForTerseUpdate(); |
748 | } | 746 | } |
749 | #endregion | 747 | #endregion |