diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs index b410eec..ad58069 100644 --- a/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs | |||
@@ -360,6 +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) | ||
364 | { | ||
365 | extraParams = "256"; | ||
366 | } | ||
363 | UUID createdTexture = | 367 | UUID createdTexture = |
364 | textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, | 368 | textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, |
365 | extraParams, timer); | 369 | extraParams, timer); |
@@ -383,6 +387,10 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
383 | IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>(); | 387 | IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>(); |
384 | if (textureManager != null) | 388 | if (textureManager != null) |
385 | { | 389 | { |
390 | if (extraParams == String.Empty) | ||
391 | { | ||
392 | extraParams = "256"; | ||
393 | } | ||
386 | UUID createdTexture = | 394 | UUID createdTexture = |
387 | textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, | 395 | textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, |
388 | extraParams, timer, true, (byte) alpha); | 396 | extraParams, timer, true, (byte) alpha); |