use SceneObjectPart instead of var
Conflicts: OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.csavinationmerge
parent
1eb1c1bd4b
commit
af6b242071
|
@ -6252,11 +6252,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
m_host.AddScriptLPS(1);
|
||||
|
||||
List<SceneObjectPart> parts = GetLinkParts(linknumber);
|
||||
if (parts.Count > 0)
|
||||
{
|
||||
|
||||
try
|
||||
{
|
||||
foreach (var part in parts)
|
||||
foreach (SceneObjectPart part in parts)
|
||||
{
|
||||
SetTextureAnim(part, mode, face, sizex, sizey, start, length, rate);
|
||||
}
|
||||
|
@ -6265,7 +6264,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void SetTextureAnim(SceneObjectPart part, int mode, int face, int sizex, int sizey, double start, double length, double rate)
|
||||
{
|
||||
|
@ -6658,7 +6656,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
|
||||
List<SceneObjectPart> parts = GetLinkParts(linknumber);
|
||||
|
||||
foreach (var part in parts)
|
||||
foreach (SceneObjectPart part in parts)
|
||||
{
|
||||
SetParticleSystem(part, rules);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue