diff options
author | BlueWall | 2011-02-13 00:30:43 -0500 |
---|---|---|
committer | BlueWall | 2011-02-13 00:30:43 -0500 |
commit | 6601771f812a360e6bc949da242878980ac0dd72 (patch) | |
tree | d59df547ded6d817292c5064ee3a3b0f4490fbdf | |
parent | Revert "Fix unsitting of avatar on linked sets" (diff) | |
download | opensim-SC_OLD-6601771f812a360e6bc949da242878980ac0dd72.zip opensim-SC_OLD-6601771f812a360e6bc949da242878980ac0dd72.tar.gz opensim-SC_OLD-6601771f812a360e6bc949da242878980ac0dd72.tar.bz2 opensim-SC_OLD-6601771f812a360e6bc949da242878980ac0dd72.tar.xz |
Set filter to send proper rotations for root part
This allows the root prim, alone or in a set, to send it's
rotation. This fixes unsitting the avatar on sit-offsest
type teleports where the sit target is in the root prim of
a linkset.
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 6a92378..4d5eedf 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -2099,7 +2099,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2099 | { | 2099 | { |
2100 | Quaternion newRot; | 2100 | Quaternion newRot; |
2101 | 2101 | ||
2102 | if (this.LinkNum == 0) | 2102 | if (this.LinkNum == 0 || this.LinkNum == 1) |
2103 | { | 2103 | { |
2104 | newRot = RotationOffset; | 2104 | newRot = RotationOffset; |
2105 | } | 2105 | } |