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;
|
||||
SetAlwaysRun = cAgent.AlwaysRun;
|
||||
|
||||
bool isFlying = ((m_AgentControlFlags & AgentManager.ControlFlags.AGENT_CONTROL_FLY) != 0);
|
||||
|
||||
Appearance = new AvatarAppearance(cAgent.Appearance);
|
||||
/*
|
||||
bool isFlying = ((m_AgentControlFlags & AgentManager.ControlFlags.AGENT_CONTROL_FLY) != 0);
|
||||
|
||||
if (PhysicsActor != null)
|
||||
{
|
||||
RemoveFromPhysicalScene();
|
||||
AddToPhysicalScene(isFlying);
|
||||
}
|
||||
|
||||
*/
|
||||
try
|
||||
{
|
||||
lock (scriptedcontrols)
|
||||
|
|
Loading…
Reference in New Issue