diff options
author | Jeff Ames | 2008-05-18 23:06:50 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-18 23:06:50 +0000 |
commit | 6ec680918bc6876f1c1382fb534b653fc34da052 (patch) | |
tree | 7eedbb3fa05b9540de9bba4a583795f1ba919de4 /OpenSim/Region/Modules | |
parent | Update svn properties. (diff) | |
download | opensim-SC-6ec680918bc6876f1c1382fb534b653fc34da052.zip opensim-SC-6ec680918bc6876f1c1382fb534b653fc34da052.tar.gz opensim-SC-6ec680918bc6876f1c1382fb534b653fc34da052.tar.bz2 opensim-SC-6ec680918bc6876f1c1382fb534b653fc34da052.tar.xz |
Formatting cleanup, minor refactoring. Fixed some comparisons of value types and null.
Diffstat (limited to 'OpenSim/Region/Modules')
-rw-r--r-- | OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs index f5e0ca2..3ac8e9a 100644 --- a/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs +++ b/OpenSim/Region/Modules/AvatarFactory/AvatarFactoryModule.cs | |||
@@ -297,7 +297,7 @@ namespace OpenSim.Region.Modules.AvatarFactory | |||
297 | else | 297 | else |
298 | { | 298 | { |
299 | LLUUID assetId; | 299 | LLUUID assetId; |
300 | 300 | ||
301 | InventoryItemBase baseItem = profile.RootFolder.FindItem(wear.ItemID); | 301 | InventoryItemBase baseItem = profile.RootFolder.FindItem(wear.ItemID); |
302 | 302 | ||
303 | if (baseItem != null) | 303 | if (baseItem != null) |
@@ -306,7 +306,7 @@ namespace OpenSim.Region.Modules.AvatarFactory | |||
306 | avatAppearance.Wearables[wear.Type].AssetID = assetId; | 306 | avatAppearance.Wearables[wear.Type].AssetID = assetId; |
307 | avatAppearance.Wearables[wear.Type].ItemID = wear.ItemID; | 307 | avatAppearance.Wearables[wear.Type].ItemID = wear.ItemID; |
308 | } | 308 | } |
309 | else | 309 | else |
310 | { | 310 | { |
311 | m_log.ErrorFormat("[APPEARANCE] Can't find inventory item {0}, not wearing", wear.ItemID); | 311 | m_log.ErrorFormat("[APPEARANCE] Can't find inventory item {0}, not wearing", wear.ItemID); |
312 | } | 312 | } |
@@ -314,8 +314,8 @@ namespace OpenSim.Region.Modules.AvatarFactory | |||
314 | } | 314 | } |
315 | } | 315 | } |
316 | m_scene.CommsManager.UserService.UpdateUserAppearance(clientView.AgentId, avatAppearance); | 316 | m_scene.CommsManager.UserService.UpdateUserAppearance(clientView.AgentId, avatAppearance); |
317 | } | 317 | } |
318 | else | 318 | else |
319 | { | 319 | { |
320 | m_log.Error("Root Profile is null, we can't set the appearance"); | 320 | m_log.Error("Root Profile is null, we can't set the appearance"); |
321 | } | 321 | } |