aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-12-06 06:36:49 +0000
committerAdam Frisby2007-12-06 06:36:49 +0000
commit9e5f7fb41540df3daf288b36e577b78666816e61 (patch)
treefd60526a418062214eb8efdd54f41096474c395d /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
parentminor cleanup of Scene.cs (parameter naming, function documentation stubs, du... (diff)
downloadopensim-SC_OLD-9e5f7fb41540df3daf288b36e577b78666816e61.zip
opensim-SC_OLD-9e5f7fb41540df3daf288b36e577b78666816e61.tar.gz
opensim-SC_OLD-9e5f7fb41540df3daf288b36e577b78666816e61.tar.bz2
opensim-SC_OLD-9e5f7fb41540df3daf288b36e577b78666816e61.tar.xz
* Removed lots of scurrilous uses of ASCII/UTF8.GetBytes for making packet strings. BAD PROGRAMMER BAD. Use Helpers.StringToField instead. >_>
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index d2cf2a3..bcee5c7 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -1038,11 +1038,11 @@ namespace OpenSim.Region.Environment.Scenes
1038 proper.ObjectData[0].LastOwnerID = m_rootPart.LastOwnerID; 1038 proper.ObjectData[0].LastOwnerID = m_rootPart.LastOwnerID;
1039 proper.ObjectData[0].ObjectID = UUID; 1039 proper.ObjectData[0].ObjectID = UUID;
1040 proper.ObjectData[0].OwnerID = m_rootPart.OwnerID; 1040 proper.ObjectData[0].OwnerID = m_rootPart.OwnerID;
1041 proper.ObjectData[0].TouchName = enc.GetBytes(m_rootPart.TouchName + "\0"); 1041 proper.ObjectData[0].TouchName = Helpers.StringToField(m_rootPart.TouchName);
1042 proper.ObjectData[0].TextureID = new byte[0]; 1042 proper.ObjectData[0].TextureID = new byte[0];
1043 proper.ObjectData[0].SitName = enc.GetBytes(m_rootPart.SitName + "\0"); 1043 proper.ObjectData[0].SitName = Helpers.StringToField(m_rootPart.SitName);
1044 proper.ObjectData[0].Name = enc.GetBytes(m_rootPart.Name + "\0"); 1044 proper.ObjectData[0].Name = Helpers.StringToField(m_rootPart.Name);
1045 proper.ObjectData[0].Description = enc.GetBytes(m_rootPart.Description + "\0"); 1045 proper.ObjectData[0].Description = Helpers.StringToField(m_rootPart.Description);
1046 proper.ObjectData[0].OwnerMask = m_rootPart.OwnerMask; 1046 proper.ObjectData[0].OwnerMask = m_rootPart.OwnerMask;
1047 proper.ObjectData[0].NextOwnerMask = m_rootPart.NextOwnerMask; 1047 proper.ObjectData[0].NextOwnerMask = m_rootPart.NextOwnerMask;
1048 proper.ObjectData[0].GroupMask = m_rootPart.GroupMask; 1048 proper.ObjectData[0].GroupMask = m_rootPart.GroupMask;