diff options
author | UbitUmarov | 2019-10-22 12:39:50 +0100 |
---|---|---|
committer | UbitUmarov | 2019-10-22 12:39:50 +0100 |
commit | da0a8d6c43054b1b6b7487fc5fc78f03af349c02 (patch) | |
tree | 06c005fd81f0ccfe12a57337873adc9e45080ede /OpenSim/Region/CoreModules/Avatar | |
parent | remove some useless NULL arguments (diff) | |
download | opensim-SC-da0a8d6c43054b1b6b7487fc5fc78f03af349c02.zip opensim-SC-da0a8d6c43054b1b6b7487fc5fc78f03af349c02.tar.gz opensim-SC-da0a8d6c43054b1b6b7487fc5fc78f03af349c02.tar.bz2 opensim-SC-da0a8d6c43054b1b6b7487fc5fc78f03af349c02.tar.xz |
remove some more useless NULL arguments
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
3 files changed, 6 insertions, 7 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index a43db33..e342897 100755 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -165,14 +165,14 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
165 | { | 165 | { |
166 | DebugLevel = debugLevel; | 166 | DebugLevel = debugLevel; |
167 | MainConsole.Instance.Output( | 167 | MainConsole.Instance.Output( |
168 | "Set attachments debug level to {0} in {1}", null, DebugLevel, m_scene.Name); | 168 | "Set attachments debug level to {0} in {1}", DebugLevel, m_scene.Name); |
169 | } | 169 | } |
170 | } | 170 | } |
171 | 171 | ||
172 | private void HandleDebugAttachmentsStatus(string module, string[] args) | 172 | private void HandleDebugAttachmentsStatus(string module, string[] args) |
173 | { | 173 | { |
174 | MainConsole.Instance.Output("Settings for {0}", null, m_scene.Name); | 174 | MainConsole.Instance.Output("Settings for {0}", m_scene.Name); |
175 | MainConsole.Instance.Output("Debug logging level: {0}", null, DebugLevel); | 175 | MainConsole.Instance.Output("Debug logging level: {0}", DebugLevel); |
176 | } | 176 | } |
177 | 177 | ||
178 | protected void HandleShowAttachmentsCommand(string module, string[] cmd) | 178 | protected void HandleShowAttachmentsCommand(string module, string[] cmd) |
diff --git a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs index 92616be..b985630 100755 --- a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs | |||
@@ -295,7 +295,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory | |||
295 | { | 295 | { |
296 | Primitive.TextureEntryFace bakedTextureFace = bakedTextures[bakeType]; | 296 | Primitive.TextureEntryFace bakedTextureFace = bakedTextures[bakeType]; |
297 | 297 | ||
298 | if (bakedTextureFace == null) | 298 | if (bakedTextureFace == null || bakedTextureFace.TextureID == AppearanceManager.DEFAULT_AVATAR_TEXTURE) |
299 | continue; | 299 | continue; |
300 | 300 | ||
301 | AssetBase asset; | 301 | AssetBase asset; |
diff --git a/OpenSim/Region/CoreModules/Avatar/Commands/UserCommandsModule.cs b/OpenSim/Region/CoreModules/Avatar/Commands/UserCommandsModule.cs index d98f11a..c98e891 100755 --- a/OpenSim/Region/CoreModules/Avatar/Commands/UserCommandsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Commands/UserCommandsModule.cs | |||
@@ -147,7 +147,7 @@ namespace OpenSim.Region.CoreModules.Avatars.Commands | |||
147 | 147 | ||
148 | if (user == null) | 148 | if (user == null) |
149 | { | 149 | { |
150 | MainConsole.Instance.Output("No user found with name {0} {1}", null, firstName, lastName); | 150 | MainConsole.Instance.Output("No user found with name {0} {1}", firstName, lastName); |
151 | return; | 151 | return; |
152 | } | 152 | } |
153 | 153 | ||
@@ -161,7 +161,7 @@ namespace OpenSim.Region.CoreModules.Avatars.Commands | |||
161 | 161 | ||
162 | if (!m.Success) | 162 | if (!m.Success) |
163 | { | 163 | { |
164 | MainConsole.Instance.Output("Invalid destination {0}", null, rawDestination); | 164 | MainConsole.Instance.Output("Invalid destination {0}", rawDestination); |
165 | return; | 165 | return; |
166 | } | 166 | } |
167 | } | 167 | } |
@@ -171,7 +171,6 @@ namespace OpenSim.Region.CoreModules.Avatars.Commands | |||
171 | 171 | ||
172 | MainConsole.Instance.Output( | 172 | MainConsole.Instance.Output( |
173 | "Teleporting {0} to {1},{2},{3} in {4}", | 173 | "Teleporting {0} to {1},{2},{3} in {4}", |
174 | null, | ||
175 | user.Name, | 174 | user.Name, |
176 | m.Groups["x"], m.Groups["y"], m.Groups["z"], | 175 | m.Groups["x"], m.Groups["y"], m.Groups["z"], |
177 | regionName); | 176 | regionName); |