diff options
* Debugging Shape
* Adding namesetting to Create
Diffstat (limited to 'OpenSim/Framework/PrimitiveBaseShape.cs')
-rw-r--r-- | OpenSim/Framework/PrimitiveBaseShape.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs index 6cfc5c3..b06a885 100644 --- a/OpenSim/Framework/PrimitiveBaseShape.cs +++ b/OpenSim/Framework/PrimitiveBaseShape.cs | |||
@@ -104,11 +104,11 @@ namespace OpenSim.Framework | |||
104 | [XmlIgnore] | 104 | [XmlIgnore] |
105 | public HollowShape HollowShape | 105 | public HollowShape HollowShape |
106 | { | 106 | { |
107 | get { return (HollowShape) (ProfileHollow & 0xf0); } | 107 | get { return (HollowShape)(ProfileCurve & 0xf0); } |
108 | set | 108 | set |
109 | { | 109 | { |
110 | byte oldValueMasked = (byte) (ProfileHollow & 0xf0); | 110 | byte oldValueMasked = (byte)(ProfileCurve & 0x0f); |
111 | ProfileHollow = (byte) (oldValueMasked | (byte) value); | 111 | ProfileCurve = (byte)(oldValueMasked | (byte)value); |
112 | } | 112 | } |
113 | } | 113 | } |
114 | 114 | ||