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.

This commit is contained in:
Robert Adams
2012-12-18 14:59:41 -08:00
parent ae67435146
commit d15bfcf614
3 changed files with 19 additions and 9 deletions

View File

@@ -99,6 +99,15 @@ namespace OpenSim.Region.Framework.Scenes
/// </summary>
public partial class SceneObjectGroup : EntityBase, ISceneObject
{
// Axis selection bitmask used by SetAxisRotation()
// Just happen to be the same bits used by llSetStatus() and defined in ScriptBaseClass.
public enum axisSelect : int
{
STATUS_ROTATE_X = 0x002,
STATUS_ROTATE_Y = 0x004,
STATUS_ROTATE_Z = 0x008,
}
// private PrimCountTaintedDelegate handlerPrimCountTainted = null;
/// <summary>