aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs9
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 }