diff options
author | Robert Adams | 2012-12-18 14:59:41 -0800 |
---|---|---|
committer | Robert Adams | 2012-12-18 19:25:40 -0800 |
commit | d15bfcf61404914c3d64c965db9e66295655bea5 (patch) | |
tree | be0ffafac781c1952cc1bf7cbaf35179ffce988a /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | Disable UDPPacketBuffer pooling for now to resolve an issue on Windows of int... (diff) | |
download | opensim-SC_OLD-d15bfcf61404914c3d64c965db9e66295655bea5.zip opensim-SC_OLD-d15bfcf61404914c3d64c965db9e66295655bea5.tar.gz opensim-SC_OLD-d15bfcf61404914c3d64c965db9e66295655bea5.tar.bz2 opensim-SC_OLD-d15bfcf61404914c3d64c965db9e66295655bea5.tar.xz |
Replace axis rotation numeric constants (STATUS_ROTATE_XYZ) with symbols. Also made it so llSetStatus() can individually enable disable rotation axi using the bitmask of flags.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 64a5811..35e7c45 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -99,6 +99,15 @@ namespace OpenSim.Region.Framework.Scenes | |||
99 | /// </summary> | 99 | /// </summary> |
100 | public partial class SceneObjectGroup : EntityBase, ISceneObject | 100 | public partial class SceneObjectGroup : EntityBase, ISceneObject |
101 | { | 101 | { |
102 | // Axis selection bitmask used by SetAxisRotation() | ||
103 | // Just happen to be the same bits used by llSetStatus() and defined in ScriptBaseClass. | ||
104 | public enum axisSelect : int | ||
105 | { | ||
106 | STATUS_ROTATE_X = 0x002, | ||
107 | STATUS_ROTATE_Y = 0x004, | ||
108 | STATUS_ROTATE_Z = 0x008, | ||
109 | } | ||
110 | |||
102 | // private PrimCountTaintedDelegate handlerPrimCountTainted = null; | 111 | // private PrimCountTaintedDelegate handlerPrimCountTainted = null; |
103 | 112 | ||
104 | /// <summary> | 113 | /// <summary> |