mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Dont add to physics in a child update. It is missing several checks like
sit. makeroot should to it
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user