aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorUbitUmarov2017-01-27 20:21:24 +0000
committerUbitUmarov2017-01-27 20:21:24 +0000
commit0091c37ed3fd3f9ed4edf079a61f986daadca16b (patch)
tree6e5ca5cb7fa6ae6325d5222b37f39a794a48d345 /OpenSim/Region/Framework/Scenes/Scene.cs
parentparcels must be loaded before objects, so they can be added to them (diff)
downloadopensim-SC-0091c37ed3fd3f9ed4edf079a61f986daadca16b.zip
opensim-SC-0091c37ed3fd3f9ed4edf079a61f986daadca16b.tar.gz
opensim-SC-0091c37ed3fd3f9ed4edf079a61f986daadca16b.tar.bz2
opensim-SC-0091c37ed3fd3f9ed4edf079a61f986daadca16b.tar.xz
several changes relative to objects return and parcel prim counts: avoid null refs, report correct count of returned objects, make obkects counts by ownership coerent with return rules, etc
Diffstat (limited to '')
-rwxr-xr-xOpenSim/Region/Framework/Scenes/Scene.cs4
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