diff options
Diffstat (limited to 'OpenSim/Framework/General/Types')
-rw-r--r-- | OpenSim/Framework/General/Types/PrimitiveBaseShape.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Framework/General/Types/PrimitiveBaseShape.cs b/OpenSim/Framework/General/Types/PrimitiveBaseShape.cs index 094a8a0..7c8de16 100644 --- a/OpenSim/Framework/General/Types/PrimitiveBaseShape.cs +++ b/OpenSim/Framework/General/Types/PrimitiveBaseShape.cs | |||
@@ -36,7 +36,6 @@ namespace OpenSim.Framework.Types | |||
36 | public LLVector3 Scale; | 36 | public LLVector3 Scale; |
37 | public byte PathCurve; | 37 | public byte PathCurve; |
38 | public byte ProfileCurve; | 38 | public byte ProfileCurve; |
39 | public uint ParentID = 0; | ||
40 | public ushort ProfileHollow; | 39 | public ushort ProfileHollow; |
41 | public sbyte PathRadiusOffset; | 40 | public sbyte PathRadiusOffset; |
42 | public byte PathRevolutions; | 41 | public byte PathRevolutions; |
@@ -73,13 +72,13 @@ namespace OpenSim.Framework.Types | |||
73 | 72 | ||
74 | } | 73 | } |
75 | 74 | ||
76 | public static PrimitiveBaseShape DefaultCube() | 75 | public static PrimitiveBaseShape DefaultBox() |
77 | { | 76 | { |
78 | PrimitiveBaseShape primShape = new PrimitiveBaseShape(); | 77 | PrimitiveBaseShape primShape = new PrimitiveBaseShape(); |
79 | 78 | ||
79 | primShape.type = ShapeType.Box; | ||
80 | primShape.Scale = new LLVector3(0.5f, 0.5f, 0.5f); | 80 | primShape.Scale = new LLVector3(0.5f, 0.5f, 0.5f); |
81 | primShape.PCode = 9; | 81 | primShape.PCode = 9; |
82 | primShape.ParentID = 0; | ||
83 | primShape.PathBegin = 0; | 82 | primShape.PathBegin = 0; |
84 | primShape.PathEnd = 0; | 83 | primShape.PathEnd = 0; |
85 | primShape.PathScaleX = 0; | 84 | primShape.PathScaleX = 0; |