diff options
author | UbitUmarov | 2017-06-24 04:23:13 +0100 |
---|---|---|
committer | UbitUmarov | 2017-06-24 04:23:13 +0100 |
commit | ae4266916cc3b75e1e897c9250b47390340eab72 (patch) | |
tree | 29be24c5fb782a5c8e9d4955071fbfe60ededd4b /OpenSim/Region/ScriptEngine/Shared/Api/Implementation | |
parent | osDrawFilledEllipse or string comand FillEllipse identical do Ellipse one (diff) | |
download | opensim-SC-ae4266916cc3b75e1e897c9250b47390340eab72.zip opensim-SC-ae4266916cc3b75e1e897c9250b47390340eab72.tar.gz opensim-SC-ae4266916cc3b75e1e897c9250b47390340eab72.tar.bz2 opensim-SC-ae4266916cc3b75e1e897c9250b47390340eab72.tar.xz |
add string osSetDynamicTextureDataFace(string dynamicID, string contentType, string data, string extraParams, int timer, int face) to easy only setting a prim face
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-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 | } |