minor - add some documentation to PrimitiveBaseShape constructor with OpenMetaverse.Primitive parameter

slimupdates
dahlia 2010-04-09 19:59:58 -07:00
parent 3f6c4c150e
commit 56c176f0a3
1 changed files with 4 additions and 0 deletions

View File

@ -188,6 +188,10 @@ namespace OpenSim.Framework
m_textureEntry = DEFAULT_TEXTURE;
}
/// <summary>
/// Construct a PrimitiveBaseShape object from a OpenMetaverse.Primitive object
/// </summary>
/// <param name="prim"></param>
public PrimitiveBaseShape(Primitive prim)
{
PCode = (byte)prim.PrimData.PCode;