mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
add LSL_Integer osClearObjectAnimations() to remove all animations on a prim, returning the number it had; some clean on sending
This commit is contained in:
@@ -5774,5 +5774,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
return Vector3.Zero;
|
||||
return target.StandOffset;
|
||||
}
|
||||
|
||||
public LSL_Integer osClearObjectAnimations()
|
||||
{
|
||||
return m_host.ClearObjectAnimations();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -568,5 +568,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
|
||||
void osSetLinkStandTarget(LSL_Integer linkNumber, vector v);
|
||||
vector osGetStandTarget();
|
||||
vector osGetLinkStandTarget(LSL_Integer linkNumber);
|
||||
LSL_Integer osClearObjectAnimations();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
public partial class ScriptBaseClass
|
||||
{
|
||||
// SCRIPTS CONSTANTS
|
||||
public static readonly LSLInteger OS_APIVERSION = 11;
|
||||
public static readonly LSLInteger OS_APIVERSION = 12;
|
||||
|
||||
public static readonly LSLInteger TRUE = 1;
|
||||
public static readonly LSLInteger FALSE = 0;
|
||||
|
||||
@@ -1461,5 +1461,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
{
|
||||
return m_OSSL_Functions.osGetLinkStandTarget(linkNumber);
|
||||
}
|
||||
|
||||
public LSL_Integer osClearObjectAnimations()
|
||||
{
|
||||
return m_OSSL_Functions.osClearObjectAnimations();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user