Dont add to physics in a child update. It is missing several checks like
sit. makeroot should to itavinationmerge
parent
affcdcce8b
commit
1953a0f4e0
|
@ -4268,15 +4268,17 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
GodLevel = cAgent.GodLevel;
|
GodLevel = cAgent.GodLevel;
|
||||||
SetAlwaysRun = cAgent.AlwaysRun;
|
SetAlwaysRun = cAgent.AlwaysRun;
|
||||||
|
|
||||||
bool isFlying = ((m_AgentControlFlags & AgentManager.ControlFlags.AGENT_CONTROL_FLY) != 0);
|
|
||||||
|
|
||||||
Appearance = new AvatarAppearance(cAgent.Appearance);
|
Appearance = new AvatarAppearance(cAgent.Appearance);
|
||||||
|
/*
|
||||||
|
bool isFlying = ((m_AgentControlFlags & AgentManager.ControlFlags.AGENT_CONTROL_FLY) != 0);
|
||||||
|
|
||||||
if (PhysicsActor != null)
|
if (PhysicsActor != null)
|
||||||
{
|
{
|
||||||
RemoveFromPhysicalScene();
|
RemoveFromPhysicalScene();
|
||||||
AddToPhysicalScene(isFlying);
|
AddToPhysicalScene(isFlying);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
lock (scriptedcontrols)
|
lock (scriptedcontrols)
|
||||||
|
|
Loading…
Reference in New Issue