diff options
author | Sean Dague | 2008-07-16 15:18:13 +0000 |
---|---|---|
committer | Sean Dague | 2008-07-16 15:18:13 +0000 |
commit | d9523b4e1aff3e41a23590d6dd3d0482d9547d85 (patch) | |
tree | b838255588024924414dd24db3e0fc0612da580c | |
parent | Revert "refactoring of PrimitiveBaseShape to properties" (diff) | |
download | opensim-SC_OLD-d9523b4e1aff3e41a23590d6dd3d0482d9547d85.zip opensim-SC_OLD-d9523b4e1aff3e41a23590d6dd3d0482d9547d85.tar.gz opensim-SC_OLD-d9523b4e1aff3e41a23590d6dd3d0482d9547d85.tar.bz2 opensim-SC_OLD-d9523b4e1aff3e41a23590d6dd3d0482d9547d85.tar.xz |
change fields to private so everyone will use properties
-rw-r--r-- | OpenSim/Framework/PrimitiveBaseShape.cs | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs index 2811615..bdd9858 100644 --- a/OpenSim/Framework/PrimitiveBaseShape.cs +++ b/OpenSim/Framework/PrimitiveBaseShape.cs | |||
@@ -78,56 +78,56 @@ namespace OpenSim.Framework | |||
78 | 78 | ||
79 | private byte[] m_textureEntry; | 79 | private byte[] m_textureEntry; |
80 | 80 | ||
81 | public ushort _pathBegin; | 81 | private ushort _pathBegin; |
82 | public byte _pathCurve; | 82 | private byte _pathCurve; |
83 | public ushort _pathEnd; | 83 | private ushort _pathEnd; |
84 | public sbyte _pathRadiusOffset; | 84 | private sbyte _pathRadiusOffset; |
85 | public byte _pathRevolutions; | 85 | private byte _pathRevolutions; |
86 | public byte _pathScaleX; | 86 | private byte _pathScaleX; |
87 | public byte _pathScaleY; | 87 | private byte _pathScaleY; |
88 | public byte _pathShearX; | 88 | private byte _pathShearX; |
89 | public byte _pathShearY; | 89 | private byte _pathShearY; |
90 | public sbyte _pathSkew; | 90 | private sbyte _pathSkew; |
91 | public sbyte _pathTaperX; | 91 | private sbyte _pathTaperX; |
92 | public sbyte _pathTaperY; | 92 | private sbyte _pathTaperY; |
93 | public sbyte _pathTwist; | 93 | private sbyte _pathTwist; |
94 | public sbyte _pathTwistBegin; | 94 | private sbyte _pathTwistBegin; |
95 | public byte _pCode; | 95 | private byte _pCode; |
96 | public ushort _profileBegin; | 96 | private ushort _profileBegin; |
97 | public ushort _profileEnd; | 97 | private ushort _profileEnd; |
98 | public ushort _profileHollow; | 98 | private ushort _profileHollow; |
99 | public LLVector3 _scale; | 99 | private LLVector3 _scale; |
100 | public byte _state; | 100 | private byte _state; |
101 | public ProfileShape _profileShape; | 101 | private ProfileShape _profileShape; |
102 | public HollowShape _hollowShape; | 102 | private HollowShape _hollowShape; |
103 | 103 | ||
104 | // Sculpted | 104 | // Sculpted |
105 | [XmlIgnore] public LLUUID _sculptTexture = LLUUID.Zero; | 105 | [XmlIgnore] private LLUUID _sculptTexture = LLUUID.Zero; |
106 | [XmlIgnore] public byte _sculptType = (byte)0; | 106 | [XmlIgnore] private byte _sculptType = (byte)0; |
107 | [XmlIgnore] public byte[] _sculptData = new byte[0]; | 107 | [XmlIgnore] private byte[] _sculptData = new byte[0]; |
108 | 108 | ||
109 | // Flexi | 109 | // Flexi |
110 | [XmlIgnore] public int _flexiSoftness = 0; | 110 | [XmlIgnore] private int _flexiSoftness = 0; |
111 | [XmlIgnore] public float _flexiTension = 0f; | 111 | [XmlIgnore] private float _flexiTension = 0f; |
112 | [XmlIgnore] public float _flexiDrag = 0f; | 112 | [XmlIgnore] private float _flexiDrag = 0f; |
113 | [XmlIgnore] public float _flexiGravity = 0f; | 113 | [XmlIgnore] private float _flexiGravity = 0f; |
114 | [XmlIgnore] public float _flexiWind = 0f; | 114 | [XmlIgnore] private float _flexiWind = 0f; |
115 | [XmlIgnore] public float _flexiForceX = 0f; | 115 | [XmlIgnore] private float _flexiForceX = 0f; |
116 | [XmlIgnore] public float _flexiForceY = 0f; | 116 | [XmlIgnore] private float _flexiForceY = 0f; |
117 | [XmlIgnore] public float _flexiForceZ = 0f; | 117 | [XmlIgnore] private float _flexiForceZ = 0f; |
118 | 118 | ||
119 | //Bright n sparkly | 119 | //Bright n sparkly |
120 | [XmlIgnore] public float _lightColorR = 0f; | 120 | [XmlIgnore] private float _lightColorR = 0f; |
121 | [XmlIgnore] public float _lightColorG = 0f; | 121 | [XmlIgnore] private float _lightColorG = 0f; |
122 | [XmlIgnore] public float _lightColorB = 0f; | 122 | [XmlIgnore] private float _lightColorB = 0f; |
123 | [XmlIgnore] public float _lightColorA = 1f; | 123 | [XmlIgnore] private float _lightColorA = 1f; |
124 | [XmlIgnore] public float _lightRadius = 0f; | 124 | [XmlIgnore] private float _lightRadius = 0f; |
125 | [XmlIgnore] public float _lightCutoff = 0f; | 125 | [XmlIgnore] private float _lightCutoff = 0f; |
126 | [XmlIgnore] public float _lightFalloff = 0f; | 126 | [XmlIgnore] private float _lightFalloff = 0f; |
127 | [XmlIgnore] public float _lightIntensity = 1f; | 127 | [XmlIgnore] private float _lightIntensity = 1f; |
128 | [XmlIgnore] public bool _flexiEntry = false; | 128 | [XmlIgnore] private bool _flexiEntry = false; |
129 | [XmlIgnore] public bool _lightEntry = false; | 129 | [XmlIgnore] private bool _lightEntry = false; |
130 | [XmlIgnore] public bool _sculptEntry = false; | 130 | [XmlIgnore] private bool _sculptEntry = false; |
131 | 131 | ||
132 | public byte ProfileCurve | 132 | public byte ProfileCurve |
133 | { | 133 | { |