diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 4ac6743..9527fa5 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -761,6 +761,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
761 | { | 761 | { |
762 | if (agent.ParentUUID != UUID.Zero) | 762 | if (agent.ParentUUID != UUID.Zero) |
763 | { | 763 | { |
764 | agent.ClearControls(); | ||
764 | agent.ParentPart = null; | 765 | agent.ParentPart = null; |
765 | // agent.ParentPosition = Vector3.Zero; | 766 | // agent.ParentPosition = Vector3.Zero; |
766 | // agent.ParentUUID = UUID.Zero; | 767 | // agent.ParentUUID = UUID.Zero; |