aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/PrimitiveBaseShape.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-12-05 22:01:47 +0000
committerJustin Clark-Casey (justincc)2012-12-05 22:01:47 +0000
commitb60c6bc3f8936f3a152e0609daa1081216d34768 (patch)
tree8787a469bb0a13584514ee75e54b5097c950dd65 /OpenSim/Framework/PrimitiveBaseShape.cs
parentminor: tidy up spacing at bottom of MundaneFrameworkTests (diff)
downloadopensim-SC-b60c6bc3f8936f3a152e0609daa1081216d34768.zip
opensim-SC-b60c6bc3f8936f3a152e0609daa1081216d34768.tar.gz
opensim-SC-b60c6bc3f8936f3a152e0609daa1081216d34768.tar.bz2
opensim-SC-b60c6bc3f8936f3a152e0609daa1081216d34768.tar.xz
Don't pointlessly set ExtraParams = byte[1] in PrimitiveBaseShape since this is ignored by the ExtraParams properly anyway
Diffstat (limited to 'OpenSim/Framework/PrimitiveBaseShape.cs')
-rw-r--r--OpenSim/Framework/PrimitiveBaseShape.cs3
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);