mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
remove some more useless NULL arguments
This commit is contained in:
@@ -180,7 +180,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.Appearance
|
||||
{
|
||||
MainConsole.Instance.Output(
|
||||
"Sending appearance information for {0} to all other avatars in {1}",
|
||||
null,
|
||||
sp.Name, scene.RegionInfo.RegionName);
|
||||
|
||||
scene.AvatarFactory.SendAppearance(sp.UUID);
|
||||
@@ -193,7 +192,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.Appearance
|
||||
{
|
||||
MainConsole.Instance.Output(
|
||||
"Sending appearance information for {0} to all other avatars in {1}",
|
||||
null,
|
||||
sp.Name, scene.RegionInfo.RegionName);
|
||||
|
||||
scene.AvatarFactory.SendAppearance(sp.UUID);
|
||||
@@ -240,7 +238,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Appearance
|
||||
{
|
||||
bool bakedTextureValid = scene.AvatarFactory.ValidateBakedTextureCache(sp);
|
||||
MainConsole.Instance.Output(
|
||||
"{0} baked appearance texture is {1}", null, sp.Name, bakedTextureValid ? "OK" : "incomplete");
|
||||
"{0} baked appearance texture is {1}", sp.Name, bakedTextureValid ? "OK" : "incomplete");
|
||||
}
|
||||
);
|
||||
}
|
||||
@@ -271,12 +269,10 @@ namespace OpenSim.Region.OptionalModules.Avatar.Appearance
|
||||
if (rebakesRequested > 0)
|
||||
MainConsole.Instance.Output(
|
||||
"Requesting rebake of {0} uploaded textures for {1} in {2}",
|
||||
null,
|
||||
rebakesRequested, sp.Name, scene.RegionInfo.RegionName);
|
||||
else
|
||||
MainConsole.Instance.Output(
|
||||
"No texture IDs available for rebake request for {0} in {1}",
|
||||
null,
|
||||
sp.Name, scene.RegionInfo.RegionName);
|
||||
}
|
||||
}
|
||||
@@ -320,7 +316,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.Appearance
|
||||
{
|
||||
MainConsole.Instance.Output(
|
||||
"{0} matched {1}",
|
||||
null,
|
||||
rawUuid,
|
||||
string.Join(", ", matchedAvatars.ToList().ConvertAll<string>(sp => sp.Name).ToArray()));
|
||||
}
|
||||
|
||||
@@ -136,7 +136,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Friends
|
||||
|
||||
if (userId == UUID.Zero)
|
||||
{
|
||||
MainConsole.Instance.Output("No such user as {0} {1}", null, firstName, lastName);
|
||||
MainConsole.Instance.Output("No such user as {0} {1}", firstName, lastName);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -146,7 +146,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Friends
|
||||
{
|
||||
if (!m_friendsModule.AreFriendsCached(userId))
|
||||
{
|
||||
MainConsole.Instance.Output("No friends cached on this simulator for {0} {1}", null, firstName, lastName);
|
||||
MainConsole.Instance.Output("No friends cached on this simulator for {0} {1}", firstName, lastName);
|
||||
return;
|
||||
}
|
||||
else
|
||||
@@ -162,10 +162,10 @@ namespace OpenSim.Region.OptionalModules.Avatar.Friends
|
||||
friends = ((FriendsModule)m_friendsModule).FriendsService.GetFriends(userId);
|
||||
}
|
||||
|
||||
MainConsole.Instance.Output("Friends for {0} {1} {2}:", null, firstName, lastName, userId);
|
||||
MainConsole.Instance.Output("Friends for {0} {1} {2}:", firstName, lastName, userId);
|
||||
|
||||
MainConsole.Instance.Output(
|
||||
"{0,-36} {1,-36} {2,-7} {3,7} {4,10}", null, "UUID", "Name", "Status", "MyFlags", "TheirFlags");
|
||||
"{0,-36} {1,-36} {2,-7} {3,7} {4,10}", "UUID", "Name", "Status", "MyFlags", "TheirFlags");
|
||||
|
||||
foreach (FriendInfo friend in friends)
|
||||
{
|
||||
@@ -193,7 +193,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.Friends
|
||||
|
||||
MainConsole.Instance.Output(
|
||||
"{0,-36} {1,-36} {2,-7} {3,-7} {4,-10}",
|
||||
null,
|
||||
friend.Friend, friendName, onlineText, friend.MyFlags, friend.TheirFlags);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -144,7 +144,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.SitStand
|
||||
{
|
||||
MainConsole.Instance.Output(
|
||||
"Sitting {0} on {1} {2} in {3}",
|
||||
null,
|
||||
sp.Name, sitPart.ParentGroup.Name, sitPart.ParentGroup.UUID, m_scene.Name);
|
||||
|
||||
sp.HandleAgentRequestSit(sp.ControllingClient, sp.UUID, sitPart.UUID, Vector3.Zero);
|
||||
@@ -154,7 +153,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.SitStand
|
||||
{
|
||||
MainConsole.Instance.Output(
|
||||
"Could not find any unoccupied set seat on which to sit {0} in {1}. Aborting",
|
||||
null,
|
||||
sp.Name, m_scene.Name);
|
||||
|
||||
break;
|
||||
@@ -179,7 +177,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.SitStand
|
||||
{
|
||||
if (sp.SitGround || sp.IsSatOnObject)
|
||||
{
|
||||
MainConsole.Instance.Output("Standing {0} in {1}", null, sp.Name, m_scene.Name);
|
||||
MainConsole.Instance.Output("Standing {0} in {1}", sp.Name, m_scene.Name);
|
||||
sp.StandUp();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user