diff options
-rw-r--r-- | OpenSim/Framework/PrimitiveBaseShape.cs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs index 76dcfca..3dbdd0f 100644 --- a/OpenSim/Framework/PrimitiveBaseShape.cs +++ b/OpenSim/Framework/PrimitiveBaseShape.cs | |||
@@ -193,7 +193,6 @@ namespace OpenSim.Framework | |||
193 | public PrimitiveBaseShape() | 193 | public PrimitiveBaseShape() |
194 | { | 194 | { |
195 | PCode = (byte) PCodeEnum.Primitive; | 195 | PCode = (byte) PCodeEnum.Primitive; |
196 | ExtraParams = new byte[1]; | ||
197 | m_textureEntry = DEFAULT_TEXTURE; | 196 | m_textureEntry = DEFAULT_TEXTURE; |
198 | } | 197 | } |
199 | 198 | ||
@@ -203,7 +202,6 @@ namespace OpenSim.Framework | |||
203 | return; | 202 | return; |
204 | 203 | ||
205 | PCode = (byte)PCodeEnum.Primitive; | 204 | PCode = (byte)PCodeEnum.Primitive; |
206 | ExtraParams = new byte[1]; | ||
207 | m_textureEntry = DEFAULT_TEXTURE; | 205 | m_textureEntry = DEFAULT_TEXTURE; |
208 | } | 206 | } |
209 | 207 | ||
@@ -216,7 +214,6 @@ namespace OpenSim.Framework | |||
216 | // m_log.DebugFormat("[PRIMITIVE BASE SHAPE]: Creating from {0}", prim.ID); | 214 | // m_log.DebugFormat("[PRIMITIVE BASE SHAPE]: Creating from {0}", prim.ID); |
217 | 215 | ||
218 | PCode = (byte)prim.PrimData.PCode; | 216 | PCode = (byte)prim.PrimData.PCode; |
219 | ExtraParams = new byte[1]; | ||
220 | 217 | ||
221 | State = prim.PrimData.State; | 218 | State = prim.PrimData.State; |
222 | PathBegin = Primitive.PackBeginCut(prim.PrimData.PathBegin); | 219 | PathBegin = Primitive.PackBeginCut(prim.PrimData.PathBegin); |