let setLinkPrimParams terminate even if there are no more parts.
parent
db3f0a3748
commit
f9a318380b
|
@ -7778,10 +7778,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
remaining = SetPrimParams((ScenePresence)part, rules);
|
||||
}
|
||||
|
||||
while((object)remaining != null && remaining.Length > 2)
|
||||
while ((object)remaining != null && remaining.Length > 2)
|
||||
{
|
||||
linknumber = remaining.GetLSLIntegerItem(0);
|
||||
rules = remaining.GetSublist(1,-1);
|
||||
rules = remaining.GetSublist(1, -1);
|
||||
parts.Clear();
|
||||
prims = GetLinkParts(linknumber);
|
||||
avatars = GetLinkAvatars(linknumber);
|
||||
|
@ -7790,6 +7790,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
foreach (ScenePresence p in avatars)
|
||||
parts.Add(p);
|
||||
|
||||
remaining = null;
|
||||
foreach (object part in parts)
|
||||
{
|
||||
if (part is SceneObjectPart)
|
||||
|
|
Loading…
Reference in New Issue