add string osSetDynamicTextureDataFace(string dynamicID, string contentType, string data, string extraParams, int timer, int face) to easy only setting a prim face
parent
c3dbf91152
commit
ae4266916c
|
@ -735,6 +735,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
|
|
||||||
public string osSetDynamicTextureData(string dynamicID, string contentType, string data, string extraParams,
|
public string osSetDynamicTextureData(string dynamicID, string contentType, string data, string extraParams,
|
||||||
int timer)
|
int timer)
|
||||||
|
{
|
||||||
|
return osSetDynamicTextureDataFace(dynamicID, contentType, data, extraParams, timer, -1);
|
||||||
|
}
|
||||||
|
|
||||||
|
public string osSetDynamicTextureDataFace(string dynamicID, string contentType, string data, string extraParams,
|
||||||
|
int timer, int face)
|
||||||
{
|
{
|
||||||
CheckThreatLevel(ThreatLevel.VeryLow, "osSetDynamicTextureData");
|
CheckThreatLevel(ThreatLevel.VeryLow, "osSetDynamicTextureData");
|
||||||
|
|
||||||
|
@ -750,7 +756,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
}
|
}
|
||||||
UUID createdTexture =
|
UUID createdTexture =
|
||||||
textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data,
|
textureManager.AddDynamicTextureData(World.RegionInfo.RegionID, m_host.UUID, contentType, data,
|
||||||
extraParams, timer);
|
extraParams, timer, false, 3, 255, face);
|
||||||
|
|
||||||
return createdTexture.ToString();
|
return createdTexture.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -123,6 +123,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
|
||||||
string osSetDynamicTextureURLBlendFace(string dynamicID, string contentType, string url, string extraParams,
|
string osSetDynamicTextureURLBlendFace(string dynamicID, string contentType, string url, string extraParams,
|
||||||
bool blend, int disp, int timer, int alpha, int face);
|
bool blend, int disp, int timer, int alpha, int face);
|
||||||
string osSetDynamicTextureData(string dynamicID, string contentType, string data, string extraParams, int timer);
|
string osSetDynamicTextureData(string dynamicID, string contentType, string data, string extraParams, int timer);
|
||||||
|
string osSetDynamicTextureDataFace(string dynamicID, string contentType, string data, string extraParams, int timer, int face);
|
||||||
string osSetDynamicTextureDataBlend(string dynamicID, string contentType, string data, string extraParams,
|
string osSetDynamicTextureDataBlend(string dynamicID, string contentType, string data, string extraParams,
|
||||||
int timer, int alpha);
|
int timer, int alpha);
|
||||||
string osSetDynamicTextureDataBlendFace(string dynamicID, string contentType, string data, string extraParams,
|
string osSetDynamicTextureDataBlendFace(string dynamicID, string contentType, string data, string extraParams,
|
||||||
|
|
|
@ -153,6 +153,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||||
return m_OSSL_Functions.osSetDynamicTextureData(dynamicID, contentType, data, extraParams, timer);
|
return m_OSSL_Functions.osSetDynamicTextureData(dynamicID, contentType, data, extraParams, timer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public string osSetDynamicTextureDataFace(string dynamicID, string contentType, string data, string extraParams,
|
||||||
|
int timer, int face)
|
||||||
|
{
|
||||||
|
return m_OSSL_Functions.osSetDynamicTextureDataFace(dynamicID, contentType, data, extraParams, timer, face);
|
||||||
|
}
|
||||||
|
|
||||||
public string osSetDynamicTextureURLBlend(string dynamicID, string contentType, string url, string extraParams,
|
public string osSetDynamicTextureURLBlend(string dynamicID, string contentType, string url, string extraParams,
|
||||||
int timer, int alpha)
|
int timer, int alpha)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue