diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 37f8970..d782ee6 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -736,6 +736,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
736 | public string osSetDynamicTextureData(string dynamicID, string contentType, string data, string extraParams, | 736 | public string osSetDynamicTextureData(string dynamicID, string contentType, string data, string extraParams, |
737 | int timer) | 737 | int timer) |
738 | { | 738 | { |
739 | return osSetDynamicTextureDataFace(dynamicID, contentType, data, extraParams, timer, -1); | ||
740 | } | ||
741 | |||
742 | public string osSetDynamicTextureDataFace(string dynamicID, string contentType, string data, string extraParams, | ||
743 | int timer, int face) | ||
744 | { | ||
739 | CheckThreatLevel(ThreatLevel.VeryLow, "osSetDynamicTextureData"); | 745 | CheckThreatLevel(ThreatLevel.VeryLow, "osSetDynamicTextureData"); |
740 | 746 | ||
741 | m_host.AddScriptLPS(1); | 747 | m_host.AddScriptLPS(1); |
@@ -750,7 +756,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
750 | } | 756 | } |
751 | UUID createdTexture = | 757 | UUID createdTexture = |
752 | textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, | 758 | textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data, |
753 | extraParams, timer); | 759 | extraParams, timer, false, 3, 255, face); |
760 | |||
754 | return createdTexture.ToString(); | 761 | return createdTexture.ToString(); |
755 | } | 762 | } |
756 | } | 763 | } |