diff options
author | UbitUmarov | 2015-10-20 15:37:43 +0100 |
---|---|---|
committer | UbitUmarov | 2015-10-20 15:37:43 +0100 |
commit | dfd60d6f71514f03386a0b97988a63e88001a86a (patch) | |
tree | 1a6b2dc2a2c0ad74bd4db09fa085a0d038d675d7 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | update ODE windows DLL libraries to a modified version 0.13.1 r1902. Linux wi... (diff) | |
download | opensim-SC-dfd60d6f71514f03386a0b97988a63e88001a86a.zip opensim-SC-dfd60d6f71514f03386a0b97988a63e88001a86a.tar.gz opensim-SC-dfd60d6f71514f03386a0b97988a63e88001a86a.tar.bz2 opensim-SC-dfd60d6f71514f03386a0b97988a63e88001a86a.tar.xz |
STATUS_ROTATE are linkset flags and not prim
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 43d522a..0ea4ab8 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -2516,13 +2516,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
2516 | 2516 | ||
2517 | public int GetAxisRotation(int axis) | 2517 | public int GetAxisRotation(int axis) |
2518 | { | 2518 | { |
2519 | //Cannot use ScriptBaseClass constants as no referance to it currently. | 2519 | if (!ParentGroup.IsDeleted) |
2520 | if (axis == (int)SceneObjectGroup.axisSelect.STATUS_ROTATE_X) | 2520 | return ParentGroup.GetAxisRotation(axis); |
2521 | return STATUS_ROTATE_X; | ||
2522 | if (axis == (int)SceneObjectGroup.axisSelect.STATUS_ROTATE_Y) | ||
2523 | return STATUS_ROTATE_Y; | ||
2524 | if (axis == (int)SceneObjectGroup.axisSelect.STATUS_ROTATE_Z) | ||
2525 | return STATUS_ROTATE_Z; | ||
2526 | 2521 | ||
2527 | return 0; | 2522 | return 0; |
2528 | } | 2523 | } |