mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
Implement llGetLinkNumberOfSides(), needed for 1-script sculptie foot shoe
scripts.
This commit is contained in:
@@ -10777,6 +10777,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
|
||||
return GetLinkPrimitiveParams(obj, rules);
|
||||
}
|
||||
|
||||
public LSL_Integer llGetLinkNumberOfSides(LSL_Integer link)
|
||||
{
|
||||
List<SceneObjectPart> parts = GetLinkParts(link);
|
||||
if (parts.Count < 1)
|
||||
return 0;
|
||||
|
||||
return GetNumberOfSides(parts[0]);
|
||||
}
|
||||
}
|
||||
|
||||
public class NotecardCache
|
||||
|
||||
Reference in New Issue
Block a user