diff options
author | UbitUmarov | 2019-10-22 13:04:01 +0100 |
---|---|---|
committer | UbitUmarov | 2019-10-22 13:04:01 +0100 |
commit | 46e36601cb3c54e6e441284aed7c0c5c35970a4c (patch) | |
tree | bf52486c1e8edaae327d7d93ea3ae6e6fd48a61d /OpenSim/Region/CoreModules/World/Objects | |
parent | remove some more useless NULL arguments (diff) | |
download | opensim-SC-46e36601cb3c54e6e441284aed7c0c5c35970a4c.zip opensim-SC-46e36601cb3c54e6e441284aed7c0c5c35970a4c.tar.gz opensim-SC-46e36601cb3c54e6e441284aed7c0c5c35970a4c.tar.bz2 opensim-SC-46e36601cb3c54e6e441284aed7c0c5c35970a4c.tar.xz |
remove some more useless NULL arguments
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Objects')
-rwxr-xr-x | OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs index 18a16c2..04eacbc 100755 --- a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs +++ b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs | |||
@@ -917,7 +917,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands | |||
917 | m_scene.ForEachSOG(searchAction); | 917 | m_scene.ForEachSOG(searchAction); |
918 | 918 | ||
919 | if (sceneObjects.Count == 0) | 919 | if (sceneObjects.Count == 0) |
920 | m_console.Output("No objects with name {0} found in {1}", null, name, m_scene.RegionInfo.RegionName); | 920 | m_console.Output("No objects with name {0} found in {1}", name, m_scene.RegionInfo.RegionName); |
921 | 921 | ||
922 | return sceneObjects; | 922 | return sceneObjects; |
923 | } | 923 | } |
@@ -952,7 +952,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands | |||
952 | 952 | ||
953 | if (!ConsoleUtil.TryParseConsoleMinVector(rawConsoleStartVector, out startVector)) | 953 | if (!ConsoleUtil.TryParseConsoleMinVector(rawConsoleStartVector, out startVector)) |
954 | { | 954 | { |
955 | m_console.Output("Error: Start vector '{0}' does not have a valid format", null, rawConsoleStartVector); | 955 | m_console.Output("Error: Start vector '{0}' does not have a valid format", rawConsoleStartVector); |
956 | endVector = Vector3.Zero; | 956 | endVector = Vector3.Zero; |
957 | 957 | ||
958 | return false; | 958 | return false; |
@@ -962,7 +962,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands | |||
962 | 962 | ||
963 | if (!ConsoleUtil.TryParseConsoleMaxVector(rawConsoleEndVector, out endVector)) | 963 | if (!ConsoleUtil.TryParseConsoleMaxVector(rawConsoleEndVector, out endVector)) |
964 | { | 964 | { |
965 | m_console.Output("Error: End vector '{0}' does not have a valid format", null, rawConsoleEndVector); | 965 | m_console.Output("Error: End vector '{0}' does not have a valid format", rawConsoleEndVector); |
966 | return false; | 966 | return false; |
967 | } | 967 | } |
968 | 968 | ||