aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index 47a239a..94d888c 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -270,7 +270,14 @@ namespace OpenSim.Region.Environment.Scenes
270 270
271 public string Text 271 public string Text
272 { 272 {
273 get { return m_rootPart.Text; } 273 get {
274 string returnstr = m_rootPart.Text;
275 if (returnstr.Length > 255)
276 {
277 returnstr = returnstr.Substring(0, 255);
278 }
279 return returnstr;
280 }
274 set { m_rootPart.Text = value; } 281 set { m_rootPart.Text = value; }
275 } 282 }
276 283