aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Framework/PrimitiveBaseShape.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs
index 9c2a4f9..9d29480 100644
--- a/OpenSim/Framework/PrimitiveBaseShape.cs
+++ b/OpenSim/Framework/PrimitiveBaseShape.cs
@@ -188,6 +188,10 @@ namespace OpenSim.Framework
188 m_textureEntry = DEFAULT_TEXTURE; 188 m_textureEntry = DEFAULT_TEXTURE;
189 } 189 }
190 190
191 /// <summary>
192 /// Construct a PrimitiveBaseShape object from a OpenMetaverse.Primitive object
193 /// </summary>
194 /// <param name="prim"></param>
191 public PrimitiveBaseShape(Primitive prim) 195 public PrimitiveBaseShape(Primitive prim)
192 { 196 {
193 PCode = (byte)prim.PrimData.PCode; 197 PCode = (byte)prim.PrimData.PCode;