diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 0f598ea..07d96c6 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -229,6 +229,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
229 | IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>(); | 229 | IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>(); |
230 | if (textureManager != null) | 230 | if (textureManager != null) |
231 | { | 231 | { |
232 | if (extraParams == String.Empty) | ||
233 | { | ||
234 | extraParams = "256"; | ||
235 | } | ||
232 | UUID createdTexture = | 236 | UUID createdTexture = |
233 | textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, | 237 | textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, |
234 | extraParams, timer); | 238 | extraParams, timer); |
@@ -258,6 +262,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
258 | IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>(); | 262 | IDynamicTextureManager textureManager = World.RequestModuleInterface<IDynamicTextureManager>(); |
259 | if (textureManager != null) | 263 | if (textureManager != null) |
260 | { | 264 | { |
265 | if (extraParams == String.Empty) | ||
266 | { | ||
267 | extraParams = "256"; | ||
268 | } | ||
261 | UUID createdTexture = | 269 | UUID createdTexture = |
262 | textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, | 270 | textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, |
263 | extraParams, timer, true, (byte) alpha); | 271 | extraParams, timer, true, (byte) alpha); |