aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/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 fc61571..06f7c0f 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1833,7 +1833,7 @@ namespace OpenSim.Region.Framework.Scenes
1833 { 1833 {
1834 AddRestoredSceneObject(group, true, true); 1834 AddRestoredSceneObject(group, true, true);
1835 EventManager.TriggerOnSceneObjectLoaded(group); 1835 EventManager.TriggerOnSceneObjectLoaded(group);
1836 SceneObjectPart rootPart = group.GetChildPart(group.UUID); 1836 SceneObjectPart rootPart = group.GetPart(group.UUID);
1837 rootPart.Flags &= ~PrimFlags.Scripted; 1837 rootPart.Flags &= ~PrimFlags.Scripted;
1838 rootPart.TrimPermissions(); 1838 rootPart.TrimPermissions();
1839 1839
@@ -4174,7 +4174,7 @@ namespace OpenSim.Region.Framework.Scenes
4174 { 4174 {
4175 if (ent is SceneObjectGroup) 4175 if (ent is SceneObjectGroup)
4176 { 4176 {
4177 SceneObjectPart part = ((SceneObjectGroup)ent).GetChildPart(((SceneObjectGroup)ent).UUID); 4177 SceneObjectPart part = ((SceneObjectGroup)ent).GetPart(((SceneObjectGroup)ent).UUID);
4178 if (part != null) 4178 if (part != null)
4179 { 4179 {
4180 if (part.Name == cmdparams[2]) 4180 if (part.Name == cmdparams[2])