From 3a111650cbaf3294d9d12bfb1fa00ab91600991d Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Sat, 21 Jun 2008 18:11:45 +0000
Subject: * minor: override the name of the sog such that it gets/sets the root
part name
---
OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 9 +++++++++
1 file changed, 9 insertions(+)
(limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index f94830e..0d759cf 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -116,6 +116,15 @@ namespace OpenSim.Region.Environment.Scenes
private int m_startparameter = 0;
#region Properties
+
+ ///
+ /// The name of an object grouping is always the same as its root part
+ ///
+ public override string Name
+ {
+ get { return RootPart.Name; }
+ set { RootPart.Name = value; }
+ }
///
/// Added because the Parcel code seems to use it
--
cgit v1.1