* Doh! scripts that get controls should get controls even when you're sitting on an object.
parent
611a1634f4
commit
28e6e018a2
|
@ -797,7 +797,15 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
{
|
{
|
||||||
StandUp();
|
StandUp();
|
||||||
}
|
}
|
||||||
|
lock (scriptedcontrols)
|
||||||
|
{
|
||||||
|
if (scriptedcontrols.Count > 0)
|
||||||
|
{
|
||||||
|
SendControlToScripts(flags, LastCommands);
|
||||||
|
flags = this.RemoveIgnoredControls(flags, IgnoredControls);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
if (PhysicsActor == null)
|
if (PhysicsActor == null)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
@ -817,15 +825,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
// m_state = agentData.AgentData.State;
|
// m_state = agentData.AgentData.State;
|
||||||
|
|
||||||
|
|
||||||
lock (scriptedcontrols)
|
|
||||||
{
|
|
||||||
if (scriptedcontrols.Count > 0)
|
|
||||||
{
|
|
||||||
SendControlToScripts(flags, LastCommands);
|
|
||||||
flags = this.RemoveIgnoredControls(flags, IgnoredControls);
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (m_allowMovement)
|
if (m_allowMovement)
|
||||||
|
|
Loading…
Reference in New Issue