diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs | 16 |
2 files changed, 9 insertions, 9 deletions
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 | |||
937 | EntityBase SensedObject = entityDetectedKey(number); | 937 | EntityBase SensedObject = entityDetectedKey(number); |
938 | if (SensedObject == null) | 938 | if (SensedObject == null) |
939 | return new LSL_Types.LSLInteger(0); | 939 | return new LSL_Types.LSLInteger(0); |
940 | if (m_host.GroupID == m_host.ParentGroup.RootPart.GroupID) ; | 940 | if (m_host.GroupID == m_host.ParentGroup.RootPart.GroupID) |
941 | return new LSL_Types.LSLInteger(1); | 941 | return new LSL_Types.LSLInteger(1); |
942 | return new LSL_Types.LSLInteger(0); | 942 | return new LSL_Types.LSLInteger(0); |
943 | } | 943 | } |
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 | |||
360 | IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>(); | 360 | IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>(); |
361 | if (textureManager != null) | 361 | if (textureManager != null) |
362 | { | 362 | { |
363 | if (extraParams == String.Empty) | 363 | if (extraParams == String.Empty) |
364 | { | 364 | { |
365 | extraParams = "256"; | 365 | extraParams = "256"; |
366 | } | 366 | } |
367 | UUID createdTexture = | 367 | UUID createdTexture = |
368 | textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, | 368 | textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, |
369 | extraParams, timer); | 369 | extraParams, timer); |
@@ -387,10 +387,10 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
387 | IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>(); | 387 | IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>(); |
388 | if (textureManager != null) | 388 | if (textureManager != null) |
389 | { | 389 | { |
390 | if (extraParams == String.Empty) | 390 | if (extraParams == String.Empty) |
391 | { | 391 | { |
392 | extraParams = "256"; | 392 | extraParams = "256"; |
393 | } | 393 | } |
394 | UUID createdTexture = | 394 | UUID createdTexture = |
395 | textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, | 395 | textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, |
396 | extraParams, timer, true, (byte) alpha); | 396 | extraParams, timer, true, (byte) alpha); |