mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user