From b9b996be38f54f384ed614441e2275f3862fd540 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Wed, 10 Sep 2008 05:17:28 +0000 Subject: Update svn properties, minor formatting cleanup. Fix unreachable code due to typo in llDetectedGroup. --- .../Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 2 +- .../Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/Common') diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 9f13a10..6575eee 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs @@ -937,7 +937,7 @@ namespace OpenSim.Region.ScriptEngine.Common EntityBase SensedObject = entityDetectedKey(number); if (SensedObject == null) return new LSL_Types.LSLInteger(0); - if (m_host.GroupID == m_host.ParentGroup.RootPart.GroupID) ; + if (m_host.GroupID == m_host.ParentGroup.RootPart.GroupID) return new LSL_Types.LSLInteger(1); return new LSL_Types.LSLInteger(0); } diff --git a/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs index ad58069..8b5e879 100644 --- a/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs @@ -360,10 +360,10 @@ namespace OpenSim.Region.ScriptEngine.Common IDynamicTextureManager textureManager = World.RequestModuleInterface(); if (textureManager != null) { - if (extraParams == String.Empty) - { - extraParams = "256"; - } + if (extraParams == String.Empty) + { + extraParams = "256"; + } UUID createdTexture = textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, extraParams, timer); @@ -387,10 +387,10 @@ namespace OpenSim.Region.ScriptEngine.Common IDynamicTextureManager textureManager = World.RequestModuleInterface(); if (textureManager != null) { - if (extraParams == String.Empty) - { - extraParams = "256"; - } + if (extraParams == String.Empty) + { + extraParams = "256"; + } UUID createdTexture = textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, extraParams, timer, true, (byte) alpha); -- cgit v1.1