aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/InnerScene.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/InnerScene.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs
index 6b3e796..fdde801 100644
--- a/OpenSim/Region/Environment/Scenes/InnerScene.cs
+++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs
@@ -857,7 +857,7 @@ namespace OpenSim.Region.Environment.Scenes
857 else 857 else
858 return null; 858 return null;
859 } 859 }
860 860
861 /// <summary> 861 /// <summary>
862 /// Get a named prim contained in this scene (will return the first 862 /// Get a named prim contained in this scene (will return the first
863 /// found, if there are more than one prim with the same name) 863 /// found, if there are more than one prim with the same name)
@@ -872,13 +872,13 @@ namespace OpenSim.Region.Environment.Scenes
872 { 872 {
873 if (ent is SceneObjectGroup) 873 if (ent is SceneObjectGroup)
874 { 874 {
875 foreach(SceneObjectPart p in ((SceneObjectGroup) ent).GetParts()) 875 foreach (SceneObjectPart p in ((SceneObjectGroup) ent).GetParts())
876 { 876 {
877 if (p.Name==name) 877 if (p.Name==name)
878 { 878 {
879 return p; 879 return p;
880 } 880 }
881 } 881 }
882 } 882 }
883 } 883 }
884 return null; 884 return null;