aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index 9afffbe..de5da40 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -585,7 +585,15 @@ namespace OpenSim.Region.Environment.Scenes
585 585
586 public string Text 586 public string Text
587 { 587 {
588 get { return m_text; } 588 get
589 {
590 string returnstr = m_text;
591 if (returnstr.Length > 255)
592 {
593 returnstr = returnstr.Substring(0, 254);
594 }
595 return returnstr;
596 }
589 set 597 set
590 { 598 {
591 m_text = value; 599 m_text = value;