mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Add perms check
This commit is contained in:
@@ -49,6 +49,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
public class MovementAnimationOverrides
|
||||
{
|
||||
private static readonly ILog m_log =
|
||||
LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
private Dictionary<string, UUID> m_overrides = new Dictionary<string, UUID>();
|
||||
public void SetOverride(string state, UUID animID)
|
||||
{
|
||||
@@ -58,6 +61,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
return;
|
||||
}
|
||||
|
||||
m_log.DebugFormat("Setting override for {0} to {1}", state, animID);
|
||||
|
||||
lock (m_overrides)
|
||||
m_overrides[state] = animID;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user