diff options
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.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 2edfca8..ecce237 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -646,7 +646,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
646 | else | 646 | else |
647 | { | 647 | { |
648 | m_numRootAgents++; | 648 | m_numRootAgents++; |
649 | presence.AddToPhysicalScene(); | 649 | presence.AddToPhysicalScene(false); |
650 | } | 650 | } |
651 | 651 | ||
652 | Entities[presence.UUID] = presence; | 652 | Entities[presence.UUID] = presence; |