diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/Scene.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 4fca4ed..5f99b73 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2604,8 +2604,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
2604 | { | 2604 | { |
2605 | // Otherwise, use this default creation code; | 2605 | // Otherwise, use this default creation code; |
2606 | sceneObject = new SceneObjectGroup(ownerID, pos, rot, shape); | 2606 | sceneObject = new SceneObjectGroup(ownerID, pos, rot, shape); |
2607 | AddNewSceneObject(sceneObject, true); | ||
2608 | sceneObject.SetGroup(groupID, null); | 2607 | sceneObject.SetGroup(groupID, null); |
2608 | AddNewSceneObject(sceneObject, true); | ||
2609 | 2609 | ||
2610 | if (AgentPreferencesService != null) // This will override the brave new full perm world! | 2610 | if (AgentPreferencesService != null) // This will override the brave new full perm world! |
2611 | { | 2611 | { |
@@ -2784,7 +2784,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2784 | } | 2784 | } |
2785 | if (toReturn.Count > 0) | 2785 | if (toReturn.Count > 0) |
2786 | { | 2786 | { |
2787 | returnObjects(toReturn.ToArray(), UUID.Zero); | 2787 | returnObjects(toReturn.ToArray(), null); |
2788 | } | 2788 | } |
2789 | } | 2789 | } |
2790 | 2790 | ||