mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
minor - add some documentation to PrimitiveBaseShape constructor with OpenMetaverse.Primitive parameter
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user