aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-01-15 02:09:55 +0000
committerAdam Frisby2008-01-15 02:09:55 +0000
commitb25f9f322cdbcde7fd8c043137bf07992e5ef318 (patch)
tree7c1a5115b2849dfe388b825dd271271d347f9574 /OpenSim/Region/ClientStack/ClientView.cs
parentSet svn:eol-style. (diff)
downloadopensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.zip
opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.gz
opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.bz2
opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.xz
* Mother of all commits:
* Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index c937fab..d3a8254 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -343,7 +343,7 @@ namespace OpenSim.Region.ClientStack
343 { 343 {
344 if (m_debug > 0) 344 if (m_debug > 0)
345 { 345 {
346 string info = ""; 346 string info = String.Empty;
347 if (m_debug < 255 && packet.Type == PacketType.AgentUpdate) 347 if (m_debug < 255 && packet.Type == PacketType.AgentUpdate)
348 return; 348 return;
349 if (m_debug < 254 && packet.Type == PacketType.ViewerEffect) 349 if (m_debug < 254 && packet.Type == PacketType.ViewerEffect)
@@ -783,7 +783,7 @@ namespace OpenSim.Region.ClientStack
783 agentData.child = false; 783 agentData.child = false;
784 agentData.firstname = m_firstName; 784 agentData.firstname = m_firstName;
785 agentData.lastname = m_lastName; 785 agentData.lastname = m_lastName;
786 agentData.CapsPath = ""; 786 agentData.CapsPath = String.Empty;
787 return agentData; 787 return agentData;
788 } 788 }
789 789
@@ -2521,7 +2521,7 @@ namespace OpenSim.Region.ClientStack
2521 case PacketType.ChatFromViewer: 2521 case PacketType.ChatFromViewer:
2522 ChatFromViewerPacket inchatpack = (ChatFromViewerPacket)Pack; 2522 ChatFromViewerPacket inchatpack = (ChatFromViewerPacket)Pack;
2523 2523
2524 string fromName = ""; //ClientAvatar.firstname + " " + ClientAvatar.lastname; 2524 string fromName = String.Empty; //ClientAvatar.firstname + " " + ClientAvatar.lastname;
2525 byte[] message = inchatpack.ChatData.Message; 2525 byte[] message = inchatpack.ChatData.Message;
2526 byte type = inchatpack.ChatData.Type; 2526 byte type = inchatpack.ChatData.Type;
2527 LLVector3 fromPos = new LLVector3(); // ClientAvatar.Pos; 2527 LLVector3 fromPos = new LLVector3(); // ClientAvatar.Pos;