From 46e36601cb3c54e6e441284aed7c0c5c35970a4c Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 22 Oct 2019 13:04:01 +0100 Subject: remove some more useless NULL arguments --- .../Agent/TextureSender/J2KDecoderCommandModule.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/OptionalModules/Agent/TextureSender') diff --git a/OpenSim/Region/OptionalModules/Agent/TextureSender/J2KDecoderCommandModule.cs b/OpenSim/Region/OptionalModules/Agent/TextureSender/J2KDecoderCommandModule.cs index 1f4c65a..cb72f23 100755 --- a/OpenSim/Region/OptionalModules/Agent/TextureSender/J2KDecoderCommandModule.cs +++ b/OpenSim/Region/OptionalModules/Agent/TextureSender/J2KDecoderCommandModule.cs @@ -114,20 +114,20 @@ namespace OpenSim.Region.OptionalModules.Agent.TextureSender if (!UUID.TryParse(rawAssetId, out assetId)) { - MainConsole.Instance.Output("ERROR: {0} is not a valid ID format", null, rawAssetId); + MainConsole.Instance.Output("ERROR: {0} is not a valid ID format", rawAssetId); return; } AssetBase asset = m_scene.AssetService.Get(assetId.ToString()); if (asset == null) { - MainConsole.Instance.Output("ERROR: No asset found with ID {0}", null, assetId); + MainConsole.Instance.Output("ERROR: No asset found with ID {0}", assetId); return; } if (asset.Type != (sbyte)AssetType.Texture) { - MainConsole.Instance.Output("ERROR: Asset {0} is not a texture type", null, assetId); + MainConsole.Instance.Output("ERROR: Asset {0} is not a texture type", assetId); return; } @@ -144,12 +144,11 @@ namespace OpenSim.Region.OptionalModules.Agent.TextureSender { MainConsole.Instance.Output( "Successfully decoded asset {0} with {1} layers and {2} components", - null, assetId, layers.Length, components); } else { - MainConsole.Instance.Output("Decode of asset {0} failed", null, assetId); + MainConsole.Instance.Output("Decode of asset {0} failed", assetId); } } } -- cgit v1.1