diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index c453366..74e8783 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -254,11 +254,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
254 | /// </summary> | 254 | /// </summary> |
255 | public override string Name | 255 | public override string Name |
256 | { | 256 | { |
257 | get { | 257 | get |
258 | { | ||
258 | if (RootPart == null) | 259 | if (RootPart == null) |
259 | return String.Empty; | 260 | return String.Empty; |
260 | return RootPart.Name; | 261 | else |
262 | return RootPart.Name; | ||
261 | } | 263 | } |
264 | |||
262 | set { RootPart.Name = value; } | 265 | set { RootPart.Name = value; } |
263 | } | 266 | } |
264 | 267 | ||