This started as way to correct Mantis #3158, which I believe should be fixed now. The flying status was temporarily being ignored, which caused the avie to drop sometimes -- there was a race condition. In the process it also fixes that annoying bug in basic physics where the avie would drop half-way to the ground upon region crossings (SetAppearance was missing). Additionally, a lot of child-agent-related code has been cleaned up; namely child agents are now consistently not added to physical scenes, and they also don't have appearances. All of that happens in MakeRoot, consistently.

This commit is contained in:
diva
2009-02-15 05:00:58 +00:00
parent 7731c055e4
commit 3d5a9e6748
9 changed files with 47 additions and 37 deletions

View File

@@ -646,7 +646,7 @@ namespace OpenSim.Region.Framework.Scenes
else
{
m_numRootAgents++;
presence.AddToPhysicalScene();
presence.AddToPhysicalScene(false);
}
Entities[presence.UUID] = presence;