* Optimized usings

* Shortened type references
* Removed redundant 'this' qualifier
This commit is contained in:
lbsa71
2007-10-30 09:05:31 +00:00
parent c32d1f0562
commit 67e12b95ea
353 changed files with 15459 additions and 10338 deletions

View File

@@ -28,9 +28,8 @@
using System.Collections.Generic;
using libsecondlife;
using libsecondlife.Packets;
using OpenSim.Framework.Console;
using OpenSim.Framework.Interfaces;
using OpenSim.Framework;
using OpenSim.Framework.Console;
namespace OpenSim.Region.Environment.Scenes
{
@@ -73,12 +72,12 @@ namespace OpenSim.Region.Environment.Scenes
{
ChatFromViewerArgs args = new ChatFromViewerArgs();
args.Message = OpenSim.Framework.Util.FieldToString(message);
args.Message = Util.FieldToString(message);
args.Channel = channel;
args.Type = (ChatTypeEnum)type;
args.Type = (ChatTypeEnum) type;
args.Position = fromPos;
ScenePresence user = this.GetScenePresence(fromAgentID);
ScenePresence user = GetScenePresence(fromAgentID);
if (user != null)
args.Sender = user.ControllingClient;
else
@@ -488,10 +487,7 @@ namespace OpenSim.Region.Environment.Scenes
public void StartAnimation(LLUUID animID, int seq, LLUUID agentId)
{
Broadcast(delegate(IClientAPI client)
{
client.SendAnimation(animID, seq, agentId);
});
Broadcast(delegate(IClientAPI client) { client.SendAnimation(animID, seq, agentId); });
}
public virtual void ProcessObjectGrab(uint localID, LLVector3 offsetPos, IClientAPI remoteClient)
@@ -503,14 +499,14 @@ namespace OpenSim.Region.Environment.Scenes
if (ent is SceneObjectGroup)
{
SceneObjectGroup obj = ent as SceneObjectGroup;
if( obj.HasChildPrim( localID ) )
if (obj.HasChildPrim(localID))
{
obj.ObjectGrabHandler(localID, offsetPos, remoteClient);
return;
}
}
}
}
}
}
}
}