mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
STATUS_ROTATE are linkset flags and not prim
This commit is contained in:
@@ -2516,13 +2516,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
public int GetAxisRotation(int axis)
|
||||
{
|
||||
//Cannot use ScriptBaseClass constants as no referance to it currently.
|
||||
if (axis == (int)SceneObjectGroup.axisSelect.STATUS_ROTATE_X)
|
||||
return STATUS_ROTATE_X;
|
||||
if (axis == (int)SceneObjectGroup.axisSelect.STATUS_ROTATE_Y)
|
||||
return STATUS_ROTATE_Y;
|
||||
if (axis == (int)SceneObjectGroup.axisSelect.STATUS_ROTATE_Z)
|
||||
return STATUS_ROTATE_Z;
|
||||
if (!ParentGroup.IsDeleted)
|
||||
return ParentGroup.GetAxisRotation(axis);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user