From f1c2dca7c1963b52d915ed6afd9bc345bf224de1 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Thu, 10 Jan 2008 08:56:03 +0000 Subject: * ProfileCurve is now XmlIgnored, and instead constructed from ProfileShape and ProfileHollow --- OpenSim/Framework/PrimitiveBaseShape.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs index abdd570..91c589a 100644 --- a/OpenSim/Framework/PrimitiveBaseShape.cs +++ b/OpenSim/Framework/PrimitiveBaseShape.cs @@ -82,7 +82,10 @@ namespace OpenSim.Framework public ushort ProfileEnd; public LLVector3 Scale; public byte PathCurve; + + [XmlIgnore] // -- this one is re-constructed from ProfileShape and ProfileHollow public byte ProfileCurve; + public ushort ProfileHollow; public sbyte PathRadiusOffset; public byte PathRevolutions; @@ -120,7 +123,6 @@ namespace OpenSim.Framework } } - [XmlIgnore] public HollowShape HollowShape { get { return (HollowShape)(ProfileCurve & 0xf0); } -- cgit v1.1